WORDCOUNT ARRAY VERSION