make a threaded version of wc.