Fix counter

Counter was not adding