Or maybe I can add an inline comment to point out this `map`/`reduceByKey` pattern is same as that appeared in the WordCount example:

    textFile("...").flatMap(_.split(" ")).map(_ -> 1).reduceByKey(_ + _)
                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~