class PaginationResult {

    public int getTotalPageCount() {
        int numberOfFullPages = getTotalCount() / paginationOptions.getPageSize();
        boolean hasAdditionalNotFullPage = getTotalCount() % paginationOptions.getPageSize() != 0;
        return numberOfFullPages + (hasAdditionalNotFullPage ? 1 : 0);
    }

    public  PaginationResult(List<T> resources);
      PaginationResult(List<T> resources, int totalCount, PaginationOptions<T> paginationOptions);

}