I am trying find an easy way to get the total number of citations in my thesis (in the final document - not in my Libary.bib file!). I know that I can use \citenum{last_entry} to get the number of the last entry, but in case there is a new entry added later, this doesn't give me the total number of citations anymore. I found the package \usepackage{totcount} helpful, because it give you a super easy way to get the total number of figures, tables, etc.
My questions is: Is there a similar command for the total number of citations? I searched quite a bit, but didn't find anything helpful.
Just in case this info is needed - I use a numeric output such as:
[1] P. Drude, Physikal. Zeitschr. 1, 161 (1900)
Example of how I currently use the package totcount for the total number of figures, tables:
\documentclass{book}
\usepackage{totcount}
\newtotcounter{bibitems}
\newtotcounter{figure}
\regtotcounter{table}
\begin{document}
The total number of figures is \total{figure}, and the total number of tables is \total{table}.
\begin{figure}
[...]
\end{figure}
\begin{figure}
[...]
\end{figure}
\begin{table}
[...]
\end{end}
\begin{table}
[...]
\end{end}
\end{document}