Document.pageCount property. Gets the number of pages in the document as calculated by the most recent page layout operation....Document.pageCount property. Gets the number of pages in the document as calculated by the most recent page layout operation.