Update counter.rb