With the scoreboard you can add a "criterion" (e.g. Minecraft: used: minecraft: snowball) where it then counts how often you throw a snowball.
Are there other things besides
Snowballs, eggs, potions and ender pearl or ender eye
!Important!
-For the 1.16.5
- Immediate counter so what is counted immediately (e.g. No eating or archery)
-And in ADVENTURE mode
Using tools.
Depending on the tool and block on which it is used, this is instant.
Plow the ground with the hoe. Remove leaves with the scissors. Etc.
Carrot on a stick, written Book (should work in Adventure Mode)
Great idea! I already know xD with the Carrot Stick but the book is great!