attr_accessor in counting_controller