def inflect(word: str,
            count: int):
    """
    Minimal inflection module.

    :param word: The word to inflect.
    :param count: The count.
    :return: The word, perhaps inflected for number.
    """
    if word in ['time', 'sentence']:
        return word if count == 1 else word + 's'
    elif word == 'was':
        return 'was' if count == 1 else 'were'
    else:
        return word + '(s)'