add stopping by counter