I have tried the approach of finding the page count in the docProps/app.xml file but this isn't very robust as the values can be easily manipulated. As I require this functionality for a website, I can't use win32com.client because it only works on Windows with Word installed.
Is there a reliable way of finding the page count using Python?