Calculate countries