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

**Type**: int

**Parameters**

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

**Return values**

Number of all available attachments

**Code structure**

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