How to make deathcounter?

I’m trying to create a simple deathcounter of my AI. The question is where i can store my variable Deathcount and how i can increment it by killing enemies? Sorry for bad english.

There are quite a few ways of doing this and… the choice is yours!
One way would be to create an actor blueprint that sets up references to all of your AI actors by some method listed here
Another way would be to do this via the level blueprint.
The way I would probably do it would be using a method where each AI instance I have references the actor in control or the level blueprint and upon death would let the tracking blueprint know that it died, increment a score, hook into a widget, or something similar. Hope that documentation helps!

Thank you very much, but I’m new in UE4. May you show me print screen of your method? Because i can’t understand what you mean.