class RuboCop::Cop::Performance::Count

def source_starting_at(node)

def source_starting_at(node)
  begin_pos = if block_given?
                yield node
              else
                node.source_range.begin_pos
              end
  range_between(begin_pos, node.source_range.end_pos)
end