'Tests that adding query statements affects the count query as expected'

@execute_count(2)
def test_query_expression_count(self):

    assert (self.table.objects.count() == 12)
    q = self.table.objects((self.table.column('test_id') == 0))
    assert (q.count() == 4)
