#790 - Return the proper search count even if the hits array is empty
790 PR followup

 * Added a testcase for search when the requested page size matches the result set size