set country-data class on countries with valid data