def get_line_count(fname):
i = <NUM_LIT:0><EOL>with open(fname) as f:<EOL><INDENT>for i, l in enumerate(f):<EOL><INDENT>pass<EOL><DEDENT><DEDENT>return i + <NUM_LIT:1><EOL>
Counts the number of lines in a file.

    Args:
        fname: string, name of the file.

    Returns:
        integer, the number of lines in the file.