TeXcount is a Perl script for counting words in LaTeX documents. It parses valid LaTeX documents counting words, headers, formulae (mathematics) and floats/begin-end groups.

To run the script, you can either download it and run it on your own computer, or you can use the web interface.