Correctly deal with counting paginated results from datanommer.