Added support for setCount to find queries for all records in a class