Bug Hunt · difficulty 2 of 3
Bug: the counter that never counts 🐛
The function is meant to update the module-level total. Fix it so the final total is 6.
This one is part of Pro. Plenty of arcade challenges are free to play right now.
Skills: functions, exceptions