Another workaround for counting_iterators in bulk::reduce