Executing the corrected version

 $ ruby count
 200000
 $ ruby count
 200000
 $