Counting words in a LaTeX document without code blocks I have a document that I am writing that involves a lot of code blocks written as :