def count(cls: Type[TYetiObject]):
        """Counts the number of objects in the collection.

        Returns:
          The number of objects in the collection.
        """
        async_col = cls._db.collection(cls._collection_name)
        job = async_col.count()
        while job.status() != "done":
            time.sleep(ASYNC_JOB_WAIT_TIME)
        return job.result()
Counts the number of objects in the collection.

        Returns:
          The number of objects in the collection.
        
core/database_arango.py