Extract a magic number within the PastaCalculator class.