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

**Type**: int

**Parameters**

| Name             | Type    | Value                                                                                     |
| ---------------- | ------- | ----------------------------------------------------------------------------------------- |
| sessionId        | String  | ID of the session                                                                         |
| includeTestLists | Boolean | TRUE: Test recipient lists are also counted; FALSE: Test recipient lists are not counted. |

**Return values**

Number of all available recipient lists

**Code structure**

```javascript
int getCount(String sessionId, boolean includeTestLists)
```
