How can I get the actor count in a level?

If you want to do this in-editor, this might help. Same idea would work at runtime I think,but not sure of your circumstances.

https://answers.unrealengine.com/questions/77282/how-do-i-show-info-about-level-setup-in-editor.html