PageCount backend implementation