Another decade old (2002) mini-project: count pages in a PCL "document"