Update cost_counter.rb