Yanfly's main menu variables help

I am very unfamiliar with variables so forgive me, but I can't seem to get this plugin to work.
http://yanfly.moe/2017/07/07/yep-145-main-menu-variable-window-rpg-maker-mv/#more-5642

I want one of my items "common loot" to be one of the variables shown in the menu. I have it set up like the picture below but it doesn't update the count in game when i collect one. the variable always shows 0. What am I missing?
pic1.jpg
'Plugin Releases' is where people who have written a plugin which they want to share with the community can post them.
Moved to: Javascript/Plugin Support
any control variable command sets the value that is there at that moment, and that value doesn't get changed until another control variable command is given on the same variable.

you need to repeat the command either whenever you get a common loot (possible but in most cases a bad idea for several reasons) or use the control variable command directly before any situation in which you have to know how many common loot you have (usually the better solution)

Original thread: https://forums.rpgmakerweb.com/threads/yanflys-main-menu-variables-help.80973/