def METHOD_NAME(self):
    """If TableQuerysetData._length is set, no count() query will be performed"""
    for i in range(11):
        Person.objects.create(first_name=f"first {i}")
    data = TableQuerysetData(Person.objects.all())
    data._length = 10
    table = Table(data=data)
    self.assertEqual(len(table.data), 10)