PdfDocument.Count (gb.pdf)

Property Read Count As Integer

Return the number of pages in the PDF document.