texcount

Count words in TeX documents omitting macros. Note: if the TeX document uses \include or \input and you want to count the included files, texcount must be run in the directory of the root TeX file. More information: <https://app.uio.no/ifi/texcount/howto.html>.

Debian Debian
RUN apt-get update && \ apt-get install -y texlive-extra-utils
Ubuntu
RUN apt-get update && \ apt-get install -y texlive-extra-utils
Arch Arch Linux
RUN pacman -S --noconfirm texlive-texcount-7
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y texlive-extra-utils
Fedora
RUN dnf install -y texlive-texcount-7
Raspbian
RUN apt-get update && \ apt-get install -y texlive-extra-utils
click the source code to copy install texcount on any operating system with command-not-found.com