converted "how many" into a dialog.