I've just published my first LaTeX package!

Countwords is a simple package for counting words in LaTeX documents. Words are counted into a standard LaTeX counter, which can then printed (or otherwise manipulated) in all the normal ways. You can stop and counting whenever you want, and have multiple independent counters.

It's on CTAN here: https://ctan.org/pkg/countwords

P.S. credit to Philipp Gesang @phgsng for the original lua wordcount code.

#TeXAndLaTeX #lualatex #luatex

CTAN: Package countwords