Check to see if there are any gears not included in the gear groups, list them, count how many entries for each missing gear.
Cleaning up, but still in progress.
switched order of input variables.