tally up quantities and able to add item on enter