def object_totals(self):
        dbtotals = {}
        typeclass_paths = set(self.values_list('db_typeclass_path', flat=True))
        for typeclass_path in typeclass_paths:
            dbtotals[typeclass_path] = \
               self.filter(db_typeclass_path=typeclass_path).count()
        return dbtotals
Get info about database statistics.
dataset/ETHPy150Open evennia/evennia/evennia/typeclasses/managers.py/TypedObjectManager.object_totals