Which of these are measures of quantity?

3 moles of sand grains on a beach

25-pound bag of sugar

16 gigabytes of memory

2-liter bottle of soda