use Iterator#size in RDD#count