def number_of_publications(publications: list[dict]) -> int:
    """Computes the number of publications.
    (This function exists rather for consistency.)

    :param: a list of publications.

    :return: the number of publications.
    """
    return len(publications)