how to use "Words: \quickwordcount" or word counting function with below structure at the main.tex? It could be another tex like wordcount.tex .
Thanks in advance.
\pagestyle{empty}
\begin{document}
\newgeometry{margin=1in}
\title {ABC}
\author{ABC}
\date{February 28, 2023}
% -------------------- Title page -------------------- %
%TC:ignore
\maketitle
\thispagestyle{empty}
%TC:endignore
\input{body/abstract}
\input{body/keywords}
\clearpage
\singlespacing
\input{body/introduction}
\input{body/motive}
\input{body/localization_mechanism}
\input{body/case_selection}
\input{body/case_study}
\input{body/conclusion}
\clearpage
% \bibliographystyle{chicago}
\printbibliography
\end{document}
wcon command line (Linux, Mac). It would also count the TeX code, but unless you need the exact number of words, you could guess the difference. Also, at least in English, a common way to count words is to divide the character count (including spaces) by 6. That is for the purpose of paper-book publishing. – rallg Feb 27 '23 at 19:19