add convenience pagecount getter method for PdfPages
add test for pagecount getter of PdfPages
Merge pull request #2440 from megies/pdfpages_pagecount

Pdfpages pagecount convenience getter method