You can find 9 clusters using the Cluster node using the variable country as input. You can use country as a segment variable already, but go this path if that is more useful to you.
Then I would connect the cluster node to a subflow Start Groups (Mode Index to pick up the segments of your cluster node)->TS Simmilarity (please confirm your data is in the right format)->End Groups