- refactoring of records counting
- added doctrine/cache in preparation of caching enhancement