Is there a script call to get the # of enemies remaining in battle?

I'm using Yanfly's Skill Cost Manager in Vx Ace, and I've got bows working so every time you shoot a bow it subtracts one arrow from the party's inventory. I've also got it set so you can't shoot a bow if you're out of arrows. So far, so good.

Now I'm setting up my special archer skills. One of them is being able to shoot an arrow in rapid succession at each living enemy in a single turn. But I need to set up the skill cost requirement based on the number of enemies. I don't know if there is a script call to get the enemy count, though. Anyone know how I would get the enemy count?
$game_troop.alive_members.size
Perfect! Thank you!
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/is-there-a-script-call-to-get-the-of-enemies-remaining-in-battle.41322/