> For the complete documentation index, see [llms.txt](https://wallet-docs.broearn.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wallet-docs.broearn.com/ethereum-and-evm/provider-api-reference/properties/_eventscount.md).

# \_eventsCount

## window\.bw\.eth.\_eventsCount

An object containing the number of events that have happened

```javascript
const eventsCount = window.bw.eth._eventsCount;
console.log(eventsCount);
// 2
```

This is **not** a recommended way to keep track of different events. The provider implements a Node.js `EventEmitter` API to emit different events happening within the wallet and/or dapp.&#x20;
