Is this a thing you want to add in? If not, maybe remove the TODO comment. By the way you can just do `rdd.splits.size` to get the number of partitions.