Add Counter for Pagination.