On this pageGet page countReturn the number of pages. Command in the PDF toolkit · id ooa.pdf/page_count · 2 inputs (1 required), 1 output Inputs InputTypeRequiredDefaultWhat it isPathFileYesPDF file.PasswordCredentialNoPassword for protected PDFs. Outputs OutputTypeWhat it iscountNumberNumber of pages.