Which of the following code blocks returns the number of rows in DataFrame storesDF for each distinct combination of values in column division and column storeCategory?
- A.storesDF.groupBy(Seq(col(“division”), col(“storeCategory”))).count()
- B.storesDF.groupBy(division, storeCategory).count()
- C.storesDF.groupBy(“division”, “storeCategory”).count()
- D.storesDF.groupBy(“division”).groupBy(“StoreCategory”).count()
- E.storesDF.groupBy(Seq(“division”, “storeCategory”)).count()