MPI_Group_size

int MPI_Group_size(MPI_Group, int *);
Returns the number of tasks in a group.