Retrieves the total number of pages inside @document.
total page count of @document, or -1 if not implemented, not know by the implementor or irrelevant.
2.12
See Implementation
Retrieves the total number of pages inside @document.