> For the complete documentation index, see [llms.txt](https://wiki.4thtech.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.4thtech.io/sdk-and-white-label/ethereum/mail/count.md).

# count

{% hint style="info" %}
Reference for SDK 0.5.x (maintenance mode). See [Status](/sdk-and-white-label/status.md).
{% endhint %}

Counts the total number of mails associated with a specific receiver.

### Usage

```ts
const receiver = '0x...';
const numberOfMails = await mail.count(receiver);
```

### Returns

`Promise<bigint>`

A promise that resolves to the total number of mails for the specified receiver.

### Parameters

#### receiver

* **Type** `Address`

The mail receiver's address for which the mail count is being fetched.
