Give this a try…
Add a Define Variable operator before Compare Strings where you can define a variable Country List which will have the codes for all countries separated by a .
Then check if this string contains the country code of the identity


