PageCounter
A counter for the current or total page number. In case the current document type does not support page counting (e.g. plain document), a placeholder is used at rendering time.
Parameters
target
whether the counter should display the current or total page number