A city is complete when the city is completely surrounded by a city wall and there are no gaps in the wall. There may be many segments in a city.
The player who has a knight in the completed city scores two points for each segment in the city (count the number of tiles). Each shield on a city segment earns the player two bonus points. Exception: When a completed city has just two segments, the player scores two points (not four).
Carcassonne
Completed city
A city is complete when the city is completely surrounded by a city wall and there are no gaps in the wall. There may be many segments in a city.
The player who has a knight in the completed city scores two points for each segment in the city (count the number of tiles). Each shield on a city segment earns the player two bonus points. Exception: When a completed city has just two segments, the player scores two points (not four).
reference