added word count to wc