Lesson 5: Collision Counter