Added error message for < 3 and > 9 words.