def pluralize(count: int, unit: str) -> str:
    """
    Pluralize a count and given its units.

    >>> pluralize(1, 'file')
    '1 file'

    >>> pluralize(2, 'file')
    '2 files'

    >>> pluralize(0, 'file')
    '0 files'
    """
    return f"{count} {unit}{'s' if count != 1 else ''}"