The algorithm should count the the total number of parts entered and the number of old model parts and output these totals