---
sidebar_label: CommonEventEmitter.listenerCount
---

# CommonEventEmitter.listenerCount() method

### Signature

```typescript
interface CommonEventEmitter {
  listenerCount(event: keyof Events): number;
}
```

## Parameters

<table><thead><tr><th>

Parameter

</th><th>

Type

</th><th>

Description

</th></tr></thead>
<tbody><tr><td>

event

</td><td>

keyof Events

</td><td>

</td></tr>
</tbody></table>

**Returns:**

number
