Get the length of processed text, use for generating text.