Add get_all_countries function