use get_raw_record_count for iTotalRecords

Otherwise it uses the full table count.