# tibemsCollection_GetCount

Function

## Purpose

Get the count of objects in a collection.

## C Declaration

    tibems_status tibemsCollection_GetCount(
        tibemsCollection collection,
        tibems_int* count);

## COBOL Call

    CALL "tibemsCollection_GetCount"
     USING BY VALUE collection,
           BY REFERENCE count,
           RETURNING tibems-status
    END-CALL.

Note: `collection` has usage pointer.

## Parameters

Parameter | Description
--- | ---
`collection` | Get the number of objects in this collection.
`count` | The function stores the count of objects in the collection in this location.

Copyright © Cloud Software Group, Inc. All rights reserved.