Calculate Page Numbers in Header/Footer
You can add or minus page numbers or total number of pages by using + or - operators. The following example increments the page number and the total number of pages by 1.