<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def count(cls, name):
 """Return the count of ``name``"""

        counter = cls.collection.find_one({'name': name}) or {}
        return counter.get('seq', 0)