In total, the number of pages in the document was two.
In total, the number of pages in the document was three.
In total, the number of pages in the document was sixteen.