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)
Flattens list of tuples l.
dataset/ETHPy150Open tanghaibao/jcvi/utils/orderedcollections.py/SortedCollection.count--crossover with--dataset/ETHPy150Open PyTables/PyTables/bench/postgres_backend.py/Postgres_DB.flatten