@classmethod
def updateMany(cls, query: dict, update: dict, upsert=False, array_filters=
    None, bypass_document_validation=False, collation=None, session=None,
    db=None):
    """Update specific fields for many documents.

        returns:
            - matched_count: int
            - modified_count: int
        """
    result = cls.__updateMany(cls, query, update, upsert=upsert,
        array_filters=array_filters, bypass_document_validation=
        bypass_document_validation, collation=collation, session=session, db=db
        )
    return result.matched_count, result.modified_count
