Getting the number of pages of a pdf file

Hi!

I think everything is in the title… I did not find anything on the
internet.
Is Pdf::Writer able to do that??

Thanks.

aurels