Remove neighbor count implementation