Javascript count string occurrences in array. split(' ') . if char is already logged in countDict then add 1 to it....