+ wordOccurrences implementation