fix counting of cities and settlements