get Page Count
Returns the page count of the edited document. If a page is added or removed, the count will reflect the change. It will always reflect the number of committed pages in the editor after a call to commitTransaction if this is called inside a group.
Return
the page count of the edited document.