redo counter