Exposed numPages method