How to check if an actor class exist?


I have a custom event that can input a list of actor classes, when I output the custom event I want to check if there is an actor class, and if there is add +1 to a variable then spawn the actor.

The Problem is I don’t know how to check if there is an actor class, does anyone know a blueprint I can use?

I hope that one of these would be helpful.