test for countNeighbors added