This Python program extracts the LaTeX word count and equation count and several other counts such as floating element count from a LaTeX document set, using the Perl script
git clone https://github.com/scivision/texcounts.git pip install -e .
python texwcpost.py mydissertation.tex
Upload to your SFTP server:
python phdwc.py mydissertation.tex serverAddress username serverDirectory