MZ Add to a variable when an item is sold

So to explain, I would like the ability to put a notetag in an item note, for example, <variable 2: + 1> or something, or even have this done with the plugin parameters, so that when an item is sold, a variable increases. I have about 40 or so different items I would like this to happen with, and they would each need their own variable.
might work for MZ
might work for MZ
I think that works, thank you!!!

Original thread: https://forums.rpgmakerweb.com/threads/add-to-a-variable-when-an-item-is-sold.144983/