This doesn’t make sense to me.
First thing, never do stuff on an actor after destroying it.
Secondly, even if you are setting the variable before destroying, there is no fun of it. As you won’t be able to reference it and use the variable from other class.
So if you need this value, store it in some other class that you won’t destroy.
The first thing that jumps at me is that you destroy the actor first and then count stuff. I wouldn’t rely on this much. Destroyed actors will refuse to collaborate sooner rather than later.