def count(self, elm):
        """Return number of i's for which id(s[i]) == id(elm)."""
        key = self.__key(elm)
        return super(dbcache, self).count(key)
Return number of i's for which id(s[i]) == id(elm).
recipes/Python/534114_List_wrapper_generators_indexable/recipe-534114.py