counted = ItemStackUtilities.countCompatibleItemStacks(inventory, stack, scs.compareItemMeta(stack));
// how many to add
toAdd = (counted - before);
ShowCaseShopEvent event = null;
// call the event
if (toAdd < 0) {
// set event
event = new ShowCaseItemRemoveEvent(player, shop, toAdd*-1, stack).setVerify(false);