matplotlib/matplotlib — pull request #2440 by megies (2013-09-19 13:05:45+00:00)
Title: 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.