Add counter to pager