There are 195 countries recognized by the United Nations, and each country typically has a capital city that serves as the administrative center and seat of government. Therefore, there are generally considered to be 195 capital cities in the world.
However, some countries have more than one capital city, or have designated a different city as the seat of government in addition to the official capital. For example, South Africa has three capital cities: Pretoria (executive), Cape Town (legislative), and Bloemfontein (judicial). Some countries, such as Switzerland and the Netherlands, do not have an official capital city and instead have several cities that serve as centers of government.
It’s also worth noting that some territories, such as the Palestinian territories, have declared a capital city but it is not recognized by all countries.
Overall, the number of capital cities in the world can vary depending on how one defines and categorizes them, but the commonly accepted number is around 195.