Exit with word count