Add a page-count checker