Create counter.rb