code: def count(self, item):
          
          # pylint: disable=arguments-differ
          key, value = item
          return 1 if key in self._dict and self._dict[key] == value else 0
docs: Return the number of occurrences of *item* in the set.