Record the movement step number