get stage num