MPI_Info_get_nkeys
int MPI_Info_get_nkeys(MPI_Info, int *);
Returns the number of keys defined in an Info object.