num_rebatches