I would like to see the number of todos I have left. Therefor I tried to redefine the todo command as follows:
\newcounter{todocounter}
\renewcommand{\todo}[2][]{\stepcounter{todocounter}\todo[#1]{#2}}
However this seems to cause an infinite loop (the todo inside the definition seems to use the todo in the declaration). Searching only yielded this which does not help in my case. Is there a trick to make this work? (etoolbox/ can I use some expansion time wizardry/would an alias help)
I do not want to replace all todos with numberedTodo or similar.