Learn first
Geographic counts depend on the rule
A country is a political area; a territory can have a different political status. A continent is a large geographic land grouping. They are not interchangeable categories.
How to work it out Read the convention, date, and category used. Compare like categories and explain the rule behind a count rather than assuming one timeless total.
A separate example A separate list of islands and a list of countries can have different counts because they classify different things.
One common convention counts 193 United Nations member states plus two non-member observer states: 195. Country recognition and inclusion rules differ. State the convention and the date, rather than calling one number the only possible answer.
Worked example
Using this convention: 193 + 2 = 195. This is not a count of continents, languages, or every territory.