# mco_dict_collation_count
RT

> Returns the number of collation descriptors.

> ### Prototype

>         MCO_RET mco_dict_collation_count(	/*IN*/const mco_metadict_header_t * metadict,
>                             /*IN*/ unsigned short dict_no,
>                             /*IN*/ unsigned short * count );

> ### Arguments

> metadict | The address of a mco_metadict_header_t structure to initialize
> dict_no | The index of the dictionary: must be between 0 and `mco_metadict_count().`
> count | Address of unsigned short to receive the count

> ### Description

> > This function returns the number of collation descriptors in the dictionary.

> ### Return Codes

> MCO_S_OK | The count was successfully returned
> MCO_E_UDA_DICT_NOTFOUND | The dictionary is not registered
> MCO_E_ILLEGAL_PARAM | Invalid `metadict` or null address passed for count

### Files

Header file:
mcouda.h
Source file:
mcouda.c
Library:
libmcouda.a