Currently, I create assignments for my pupils using Latex. Excercises are numbered using a counter, yielding something like
- Exercise 1
- Exercise 2
- Exercise 3
What I want to do now is add the total number of exercises to the text, e.g.
- Exercise 1 of 3
- Exercise 2 of 3
- Exercise 3 of 3
Can someone please give me a hint how I can achieve what I want?
Thanks in advance.
Edit: Spelling.