This python module extracts the metadata, specifically the page count, from word document and print the total page count or number of pages of the word document.
python word-page.py "word filename"
This module can also be used to extract many other information from the word document since the document is infact stored in a compressed xml format. Read Furthur: https://towardsdatascience.com/how-to-extract-data-from-ms-word-documents-using-python-ed3fbb48c122