Update to countryRanking fn again