refine the move count calculation