async def test_raw_sql_count(self):
    t1 = (await Tournament.create(name='1'))
    ret = (await Tournament.filter(pk=t1.pk).annotate(count=RawSQL('count(*)')).values('count'))
    self.assertEqual(ret, [{'count': 1}])
async def test_raw_sql_count(self):
    t1 = (await Tournament.create(name='1'))
    ret = (await Tournament.filter(pk=t1.pk).annotate(count=RawSQL('count(*)')).values('count'))
    self.assertEqual(ret, [{'count': 1}])