Counting "national" capitals only, there are around 247. The UN
has 193 member nations, but there are many nations that are not
unrecognized, or only partly recognized internationally, and some
countries have more than one capital.
For a list of national capitals, see the related link below.