Elaborated on countNeighbors documentation, added reference.