--- title: "Get Live Count" url: https://docs.catalyst.zoho.com/en/sdk/nodejs/v2/cloud-scale/data-streams/get-live-count/ description: "This page describes the method to retrieve the number of active subscribers connected to a Data Streams channel in your Node.js application with sample code snippets." last_updated: 2026-08-13T11:41:55Z service: Cloud Scale type: general related_links: - name: "Get Live Count - API" url: /en/api/code-reference/cloud-scale/data-streams/get-live-count - name: "Data Streams" url: /en/cloud-scale/help/data-streams/introduction --- # Get Live Count [Catalyst Data Streams](https://docs.catalyst.zoho.com/en/cloud-scale/help/data-streams/introduction/) allows you to track the number of active subscribers currently connected to a specific channel. This is useful for monitoring channel activity and implementing conditional logic based on subscriber presence. The `datastreams` reference used in the code below is the [component instance](https://docs.catalyst.zoho.com/en/sdk/nodejs/v2/cloud-scale/data-streams/get-component-instance) created earlier. ### Track Active Subscribers You can retrieve the live subscriber count by passing the channel ID to the `getLiveCount()` method. The promise returned here will be resolved to an object containing the count of active subscribers. **Parameters Used**
| Parameter Name | Data Type | Definition |
|---|---|---|
| `channelId` | **String** | A **Mandatory** parameter. Holds the unique ID of the channel. |