Getting word count for Latex-generated document

We need texcount binary for this. For a Latex source saved as paper.tex, simply run

$ texcount -inc -v -sum paper.tex

to get various statistics for each *.tex (files specified using \include will also be in the analysis). To get the information in an HTML formatted file, run

$ texcount -inc -v -html -sum paper.tex >info.html

Edit the written HTML document to filter out any information if necessary.

That is all I have to say about that 8-)