use totalItemsCount instead of page number