How to check if player has 3 of a certain item then remove them and replace with another?

I want to make a fairly simple alchemy table. Currently, I have a Show Choices (Small Health potion) then it checks if there's a Green Goo one in the inventory. I need it to check if there are three. Any ideas?
Equate a variable with the number of that certain item you currently have in your inventory.
Control Variables lets you put the number of an item into the variable, then you can use it in a Conditional Branch
If I remember correctly, inside conditional branch command you can set if the party has x of an item. For your case you can set Green Goo >=3.
If I remember correctly, inside conditional branch command you can set if the party has x of an item. For your case you can set Green Goo >=3.
Wrong - the conditional branch alone can only check if the party has one or more (any number) of an item.

To check a specific number you need to combine a control variable command with the conditional branch on the variable, like said above.
Solved. Alchemy Table is working pretty well. 

Original thread: https://forums.rpgmakerweb.com/threads/how-to-check-if-player-has-3-of-a-certain-item-then-remove-them-and-replace-with-another.37656/