You just add the number to the end of the command e.g. /shop browse buy 2 This does seem to be missing from the original post and took me a while...
you need to import org.bukkit.event.Event
Separate names with a comma.