def __getitem__(self, item):
        if isinstance(item, (list, tuple)):
            return self.database.hmget(self.key, item)
        else:
            return self.database.hget(self.key, item)
Return the number of bits set in a BitVector instance.
dataset/ETHPy150Open coleifer/walrus/walrus/containers.py/Hash.__getitem__--crossover with--dataset/ETHPy150Open networkdynamics/zenlib/src/zen/util/bitvector.py/BitVector.count_bits