Fix number of examples for iterable datasets in multiprocessing (#18856)
Fix number of examples for iterable datasets in multiprocessing (#18856)

* Fix number of examples for iterable datasets in multiprocessing

* Add stronger check
huggingface/transformers,huggingface/transformers,huggingface/transformers,huggingface/transformers