def get_lines_in_file(filename: str) ->int:
    """Returns the number of lines in a given file"""
    with open(filename, 'r') as f:
        for count, line in enumerate(f):
            pass
    return count + 1
