where is the current battle turn # stored

Hopefully this hasn't been answered as I tried searching multiple ways and couldn't find it.

I'm trying to find where the current turn number, during battle, is stored, so I can access it during a function. I know there are other ways to do this (using event pages), but if at all possible, I'd like to do something like this:

if the current battle turn < some # {code}
else {code}

Unfortunately, I've thus far been unable to find how to access the current battle turn. Any help with this, would be greatly appreciated!
$gameTroop.turnCount()
Thank you! That's what I needed!
Thread closed IgnoreMe

Original thread: https://forums.rpgmakerweb.com/threads/where-is-the-current-battle-turn-stored.76641/