def count(self, item):
        k = self._key(item)
        i = bisect_left(self._keys, k)
        j = bisect_right(self._keys, k)
        return self._items[i:j].count(item)
Return number of occurrences of item
dataset/ETHPy150Open tabatkins/bikeshed/bikeshed/SortedList.py/SortedList.count