fix #931: Pagination totalCount empty