@classmethod
    def count(cls, name):
        counter = cls.collection.find_one({'name': name}) or {}
        return counter.get('seq', 0)
Return the count of ``name``
dataset/ETHPy150Open tevino/mongu/mongu.py/Counter.count