open document, page count