Total Page Number
In your header or footer, you can display a total page number with the page number. For example, instead of just displaying “Page x”, your PDF output displays “Page x of y”.
First, you must already have a custom variable element for the page number in Editing a Header Template or Editing a Footer Template.
Adding a total page number to your footer or header requires: