use data about total entries from pager instead of collection because from collection we get just number of results on this page