Each of these villages has a fence running through it along the grid lines, forming a single continuous closed loop. Some of the inhabitants are really sad about the fence and will only tell you exactly how many of their neighbors are sad like they are. As to the others, they are so disgusted by everyone else, they’d rather just tell you on how many sides they are fenced off from their neighbors or from the outside world. But they really need your help—see how many of those sad people are being kept out of the loop!