Scala: Occurrences with pairs, groupBy and mapValues