Added Input Length Retrieval Method