#!/usr/bin/ruby
# line_count.rb

puts "The file has #{readlines.length} line(s)"
