add initial solution for wordOccurrences