Added ability to limit number of ingredients that can be added to a pie.