def file_countlines(filename : str) -> int:
    """
    Return the number of lines in the specified file

    Parameters:
        filename (str): File name

    Returns:
        count (int): Number of lines
    """
    lines = []
    with open(filename, "r") as file:
        lines = file.readlines()
    count = len(lines)
    return count