Pdfpages pagecount convenience getter method

Add convenience method `get_pagecount()` to PdfPages that returns the current number of pages in the multipage file. Also adds a simple test for it.