def count(self):
        if self._count is None:
            self._count = self.result.count()
        return self._count
dataset/ETHPy150Open ebroder/anygit/anygit/backends/mongodb.py/Map.count/original