NUMPAGES
Non-MailMerge field
{ NUMPAGES }
Inserts the total number of pages.
Note
Do not nest the PAGE and NUMPAGES fields inside fields that are in headers or footers. Field values can be incorrect due to limitations of the current layout calculation. Refer to the following topic for information on how to create a nested field: How to: Create a Nested Field.