add count_x.rb