MZ How to make multiple at a time per item for Visutella ItemCraftingSystem Plugin?

So I've recently moved over my MV project to MZ and one of the things that I really want to keep but have troubling translating is this javascript code I had for Yanfly's Item Crafting that allowed me to make multiple of items per item crafted:
----
<Custom Synthesis Effect>
var Pistol Rounds= $dataItems[15];
$gameParty.gainItem(PistolRounds, 19);
</Custom Synthesis Effect>
----
This allowed me make multiple items while using the ingredients to for one item. So if I made one "set" of pistol rounds I would get 20 rounds back. Two sets: 40, Three sets: 60, etc etc. And I could do this all at once as long as I had the ingridients to make a set of items. The issue that I'm having is that the same code works for Visutella ItemCraftingSystem, but instead of giving me 20 rounds for each set I craft, It's only giving me 20 rounds for the total sets that I've made. So if I make three sets of pistol rounds it's only giving me 20 rounds for that entire set I made at once rather then the 60 that it did in MV. Is there a way to make it so that I can get back the multiple items when I create multiple sets?
Probably cannot help much further than this, but there is a promising code listed on the site:

JavaScript Notetag: Effect-Related​


The following are notetags made for users with JavaScript knowledge to make custom effects that occur upon crafting the item.

---

Code:
<JS Crafting Effect>
 code
 code
 code
</JS Crafting Effect>

- Used for: Item, Weapon, Armor Notetags
- Replace 'code' with JavaScript code to determine what kinds of effects you
want to occur upon crafting this item.
- The 'item' variable represents the item being crafted.
- The 'number' variable represents the number of items being crafted.

So you could try something like this:

<JS Crafting Effect>
var additionalAmount = number * 19;
$gameParty.gainItem(item, additionalAmount);
</JS Crafting Effect>
Probably cannot help much further than this, but there is a promising code listed on the site:



So you could try something like this:

<JS Crafting Effect>
var additionalAmount = number * 19;
$gameParty.gainItem(item, additionalAmount);
</JS Crafting Effect>

Thank you so much for the help! This worked perfectly!

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-multiple-at-a-time-per-item-for-visutella-itemcraftingsystem-plugin.134726/