Removed horrible CPU time wasting while loop and removed instance variables from the counter_spec.rb