In the first sentence, the comma is optional; the non-finite clause may be considered either restrictive or non-restrictive. I wouldn't use the comma myself. countries' is a part of the noun phrase).
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.