# classname_fieldname_count

This function returns the count of elements in the sequence.

### Prototype

>         MCO_RET	classname_fieldname_count(	/*IN*/ classname *handle,
>                                 mco_seq_no_t count,
>                                  );

### Arguments

handle | A pointer to a classname handle
count |

### Description

This function applies to sequence fields. This function returns the count of elements in the sequence.

### Return Codes

MCO_S_OK | The value was put successfully
MCO_E_ACCESS | The transaction that the class handle is scoped to is `MCO_READ_ONLY`

Related Topics

## Example