Auto-translated
You create a variable that tracks the number of dragons found. You set the stages relative to it. That is, when 1 dragon is found, the stage "1 out of 9 found" is displayed; when 2 dragons are found, "2 out of 9" is displayed, and so on.