def count(self):
<EOL>return self.total<EOL>
Returns the total number of results returned by a query.
The count is dependent on the filters, but independent of any limit.
It is like SQL:
   SELECT COUNT(*) FROM <table> [WHERE condition].
See also __len__ for a function that is dependent on limit.