Small script to count the number of words in a LaTeX thesis.