Create counter.cs