adding the pagination_count option for index page #2283