Validate the length (in words) of a string