add locations_counter to datasfile