MV State Counters in YEP Buffs&States Core

In my game, I'm using a kind of ammo system with the help of NeMV's State Resource Plugin (the kind of where you use a "Reload" skill and get ammo which you can then spend on skills). This ammo resource is potrayed as an icon next to the HP bar.
The system in itself works perfectly fine, just is the amount of ammo left not potrayed on the icon. I've read, that adding this counter is possible with State Counter in Buffs&States Core, which is sadly a Lunatic Mode function. Since I'm basically illiterate as far as JS is concerned, I have no idea how to implement this into the game. I was hoping if somebody was willing to help me regarding this matter.
Thanks in advance
The functions for the state counters are all provided for you at the bottom of those instructions.

The only thing you need to know is wherever it says "battler" you'd type "user." Everything else is just filling in the values it tells you to.

So give it a shot, and if it doesn't work properly, post the code you tried and say what's going wrong.

Original thread: https://forums.rpgmakerweb.com/threads/state-counters-in-yep-buffs-states-core.153676/