initial changes for support of counting draft and future pages
merging to resolve conflict