class Capybara::Queries::TextQuery

def resolve_for(node)

def resolve_for(node)
  @node = node
  @actual_text = text(node, @type)
  @count = @actual_text.scan(@search_regexp).size
end