[MV] How to have a conditional branch check if you have enough of an item.

I'm trying to make it so a conditional branch's condition is met when you have 5 copies of one particular item.  I'm looking to do this with a script call for the conditional branch.  Can anyone help?
You don't really need a script call for that.


Set a variable to the number of the item you have, and then have the conditional branch check against that variable.


WMkyi9q.png

Original thread: https://forums.rpgmakerweb.com/threads/mv-how-to-have-a-conditional-branch-check-if-you-have-enough-of-an-item.58430/