GimpUi.PageSelector:n-pages

"n-pages"             int                : Read / Write
  

The number of pages of the document to open.

Since 2.4