How would I test the number of matches that the RSpec Capybara matcher "has_text" or "has_content" finds on a page?
===

I am basically trying get the functionality for the has_text or has_content matcher that the option :count provides for the has_css matcher.