Gets the page count of an AccessibleDocument object.
AccessibleDocument
a pointer to the Document object to query.
a int indicating the page count of an AccessibleDocument object.