Improves soft string length validation to provide character and word count.