<?php
$recent2 = new WP_Query(
array(
'orderby' => '',
'showposts'=>-1,
)
);
while($recent2->have_posts()) : $recent2->the_post() ;
$count = get_field('district');
update_field('district', $count);
?>
<?php endwhile; ?>
<?php wp_reset_query() ; ?>