created number_of_lines(in_file) function