Added support for getNumPages() for encrypted PDF's; this uses the /Count of the Page Tree object of the Root catalog. For non-encrypted PDF's, the implementation is unchanged.