Thankyou Headbang Games
I tried it but still is not working.
Any suggestion?
I meant you don't even need the variable, user "compare two values", where the first value is missile.count (that's how many missile instances are currently existing in runtime).
Using a variable should also work, but you don't really need it. If you're using a variable, make sure you destroy the missiles in every event and reduce the variable number (outside of bounds, hitting something, or whatever other events you have for the missiles).