Battle turn counter

Howdy, could anybody help me to implement battle turn counter in the regular side battle system? A small window in the top right corner shows how many turns were made in battle. It should renew after every turn.

I don't know how to display variable value during the battle without stopping it. Also, I don't know what is coding. Maybe it's a vegetable? Please help!

Original thread: https://forums.rpgmakerweb.com/threads/battle-turn-counter.80875/