word count using associative arrays