error CS1061: 'object' does not contain a definition for PageCount