add count total for paging