def get_logline_count(logfile: str) -> int:
    """Get line count in logfile

    Note: If logfile doesn't exist will return 0

    Args:
        logfile: path to logfile

    Returns:
        line count of logfile
    """
    try:
        with open(logfile) as file_handle:
            return sum(1 for i in file_handle)
    except FileNotFoundError:
        return 0