Return number of pages in PDF

numpages(pdf)

Arguments

pdf

Path to input PDF file

Value

number of pages