Got num_neighbors working in the crappiest possible way