✅ Implementing a step counter - C#