/*D
   MPI_Get_elements - Returns the number of basic elements

Synopsis:
.vb
int MPI_Get_elements(const MPI_Status *status, MPI_Datatype datatype,
                     int *count)
.ve
.vb
int MPI_Get_elements_c(const MPI_Status *status, MPI_Datatype datatype,
                       MPI_Count *count)
.ve

Input Parameters:
+ status - return status of receive operation (Status)
- datatype - datatype used by receive operation (handle)

Output Parameters:
. count - number of received basic elements (integer)

Notes:
If the size of the datatype is zero and the amount of data returned as
determined by 'status' is also zero, this routine will return a count of
zero.  This is consistent with a clarification made by the MPI Forum.

.N ThreadSafe

.N Fortran

.N Errors
.N MPI_SUCCESS
.N MPI_ERR_ARG
.N MPI_ERR_TYPE
.N MPI_ERR_OTHER

D*/

