Clear as area to move to the next level

Hello everyone. In a draft Blueprint Side Scroller can be set as the goal of the game. Such as Pac-Man. How to declare that the end of the level is when the enemies are all dead? I tried to look at the '“Example content” of the “Level Scripting”, the one where you collect coins to open the door, but it is not what I need. How do I declare that to the death of all the enemies have to load another level? If anyone knows how to do, please enlighten me.

Hey, do the following steps:

  1. Initially, get all objects of the enemy type and count them, and save the num of the objects
  2. When an enemy dies, fire an event and decrease the enemy counter
  3. When the counter reaches 0, load the next level.

I know this was a long time ago, but i was wondering if you knew, roughly the type of nodes you would use on the blueprints for this. I am guessing the amount left would be an integer, but its triggering the reduce i am at loss with. I am new to unreal 4 and i am making a pool (ball) game for a student project. Thanks