Reverted changes of adding total records to generic paging