# tibemsTopicInfo_GetSubscriptionCount

Function

## Purpose

Get the current number of subscriptions for this topic.

## C Declaration

    tibems_status tibemsTopicInfo_GetSubscriptionCount(
        tibemsTopicInfo topicInfo,
        tibems_int* count);

## COBOL Call

    CALL "tibemsTopicInfo_GetSubscriptionCount"
     USING BY VALUE topicInfo,
           BY REFERENCE count,
           RETURNING tibems-status
    END-CALL.

Note: `count` has usage pointer.

## Parameters

Parameter | Description
--- | ---
`topicInfo` | Get the count for this topic.
`count` | Stores the number of subscriptions.

## See Also

`tibemsTopicInfo_GetDurableSubscriptionCount`

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