Collapsed items in list to single entries per item with quantities