How Do I add a KO/WO Counter?

How Do I add a KO/WO Counter? I’m Making A Fighting Game and I don’t know how.

You will have to determine the killer somewhere in the weapon code and increment their KO in leaderstats, and increment the killed player’s WO.