2/ Each digit represents an intersection on the goban, assuming the following mapping: 0 = no stone, 1 = black stone, 2 = white stone.
The count above is for legal positions only, i.e. those where every connected group of stones is adjacent to an empty point.