MPI_Get_count

int MPI_Get_count(MPI_Status *, MPI_Datatype, int *);
Returns the number of elements in a message.