code: public static int getPageCount(int size, int pageSize, int page) {
          int totalPage = size / pageSize;
          if (size > pageSize * totalPage) {
              totalPage += 1;
          }
          return totalPage;
      }
docs: getTotalPage: 获取总页码
  
  @param size
  总记录条数
  @return 总页数