-- | For a given list of 'ItemQuantity', calculate the total amount of items.
itemsCount :: ItemQuantities -> Int
itemsCount = sum . fmap snd
itemsCount :: ItemQuantities -> Int
itemsCount = sum . fmap snd
itemsCount = sum . fmap snd