Set item count and page number for Paginator.