item modify entity @n[type=item,distance=..10,nbt={Item:{id:"minecraft:dropper"}}] container.0 {function:"minecraft:set_count",count:-1,add:1b}
loot spawn ~ ~ ~ loot vb:items/bartering_station
kill @s