Return int from DigitExtractor