def test_can_count(self):
        self.assertEqual(self.manager.filter(TestModel.a == 1).count(), 2)

        self.assertEqual(self.dict_manager.filter(TestModel.a == 1).count(), 2)
dataset/ETHPy150Open EliotBerriot/lifter/tests/test_explicit_query_engine.py/TestQueries.test_can_count/original