Lesson 10 Fix

Fix counter reseting to 0