In this 7×7 demonstration, black controls 21 points of territory and has 7 live stones on the board, for a total of 28 points.
White, on the other hand, has 14 points of territory and 7 live stones — totaling 21 points.
Territory is counted by the number of empty intersections (the points where lines cross) that a player surrounds.