Count words in TeX documents omitting macros. Note: If the TeX document uses
\includeor\inputand you want to count the included files,texcountmust be run in the directory of the root TeX file. More information: https://app.uio.no/ifi/texcount/howto.html.
texcount {{path/to/file.tex}}
\input or \include:texcount -merge {{file.tex}}
texcount -inc {{file.tex}}
texcount -merge -sub=chapter {{file.tex}}
texcount -v {{path/to/file.tex}}