update location_count on datafile when location is created