Update PagesType to support a count() method like those of Pages::count() per @somatonic issue #492