Add number shown on page and total to pagination macro