Moving getTotalResultsPerPage method into the paginatied search manager