How do I make it so you go onto the next level when all enemies are defeated

Here is my game if you need it.

Create a ‘global’ variable (should be 0), then, on each enemy, when they are defeated, increase that global by 1. Use a filter to state 'if the global is equal to [the number of enemies], then go to the next level.