---
title: getCount
slug: campaign/docs/getcount-unsubscribews
docTags: 
createdAt: 2026-07-02T19:01:45.097Z
---

**Type**: int

**Parameters**

| Name      | Type   | Value             |
| --------- | ------ | ----------------- |
| sessionId | String | ID of the session |

**Return values**

Number of recipients that are currently unsubscribed

**Code structure**

```javascript
int getCount(String sessionId)
```
