Is Jerusalem a counrty?

No. Jerusalem is a city. It has a population of more than 600 thousand,
and is the capital city of the country of Israel.