def ses(count, plural='s', singular=''):
    """
        ses is pronounced "esses".

        Return a string suffix that indicates a singular sense if
        the count is 1, and a plural sense otherwise.

        So, for example:
            log.info("%d item%s found", items, utils.ses(items))
        would log:
            "1 item found" if items was 1
        and:
            "0 items found" if items was 0

        And:
            log.info("%d famil%s found", 1, ses(1, singular='y', plural='ies'))
        or:
            log.info("%d famil%s found", 1, ses(1, 'ies', 'y'))
        would log:
            "1 family found" if items was 1
        and:
            "10 families found" if items was 10

        Note that the default covers pluralization for most English words and the positional
        override is ordered to handle most easily handfle other cases.

        This function officially has the highest comment:code ratio in our codebase.
    """
    return (singular if count == 1 else plural)