Reuse page numbers variables
One answer
You can use one of this properties as per your need - https://www.ibm.com/docs/en/engineering-lifecycle-management-suite/lifecycle-optimization-publishing/7.0.2?topic=reference-page-number
There is no default variable for page number that can be accessed.