Real-Time Units Killed while in-game

Hi, I would like to create a UI mod where I can show the current number of units I have killed on the screen in real-time. It’s just pure text like the one for the timer. I played around with the worldtimerpanel.json file and I know how to add text to the screen, but I can’t find a way to grab the data I need (kills) and display it. Is this possible?

Thanks!