class RuboCop::AST::Node

def line_count

def line_count
  return 0 unless source_range
  source_range.last_line - source_range.first_line + 1
end