Missions and Mission_templates now have a count; how many of the target we must eat, kill, read, whatever.  Like other values, it's a range in Mission_template, and Mission randomly picks a number in that range.
Bonus XP for high-count missions; Mission_status enum; track the original target_count in Mission (just in case).
A few mission-related functions, should be enough to really start in on them!