Move getCount calling after setting model limit.
Helps avoiding multiple requests to data source (db, api), when model can get every information in one request.