I have large lists of the kind
There are N values:
\begin{enumerate}
\item item1
\item item2
...
\item itemN
How can I replace "N" in the first line of text by a counter that would automatically show N such as in
There are \readcounter{enumlist} values:
\begin{enumerate}
\item item1
\item item2
...
\item itemN
Thank you.
\ref*seems to be the solution. – gernot May 29 '22 at 07:53\refsolution when\ref*is what I need. – leparc May 29 '22 at 09:35