Create inv_counter.rb