Cache queries
Cache results of COUNT queries