text/count_words: raise SystemExit instead of manually writing to stderr and calling sys.exit