Add property "num_item_group:" to Mapgen_spec.  Basically, binds a character in the map to a weighted list of Item_groups, each with a Dice count.  At map generation, one Item_group is chosen, and the Dice are rolled - exactly that many items are placed.