[ResourceBundle] Don't use query walkers when pagination is called

This i.e. for product pagination removes one query run on whole table without index usage (you can guess how terrible it is when database have 90k products/variants).
Merge pull request #1972 from stloyd/bugfix/pagination_count

[ResourceBundle] Don't use query walkers when pagination is called