MPI_Graph_neighbors_count

int MPI_Graph_neighbors_count(MPI_Comm, int, int *);
Returns the number of neighbors of the given task.