Fixed issue #2
Counter was off by one bc of <0 not being <=0 :)