Correct count for search results can now be accessed

Was previously getting the length of the paginated array. Now uses the
total results count returned by ES, which ignores the size limiter.