Updated Length Extractor