You can also dynamically count the enemies, on start of layout add a for each loop and as action add +1 to a global variable, and you will get the total number of the monster without counting them your self
This can also be used for monster spawning during gameplay, and the variable will be adjusted to the new monster number.