MV Consolidating enemy drops

Hello, all!

I've recently installed HimeWorks More Enemy Drops plugin, and it's exceeding my every expectation! My only issue is, when multiples of an item are dropped (say, 5 potions), the game lists them individually (like Potion found! Potion found! Potion found! etc.).

I wanted to figure out a way to change this to where single items would display once like that, but that multiple items would show in a consolidated way, such as 'Potion x 5 found!' in the above case. I found the bit of JS that seems to be connected to drops, but I can't figure out what I would have to do to check the list of drops, pick out which ones are multiples, and display them differently.

Any help would be greatly appreciated!

Original thread: https://forums.rpgmakerweb.com/threads/consolidating-enemy-drops.128667/