the apparatus comprising means for automatically controlling the amount to be dispensed