> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Total Subscriptions • Rust AI Agent SDK

> total_subscriptions: Get total subscription count

# total\_subscriptions

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**EventBus**](../classes/EventBus) class in the [**bus**](../modules/bus) module.

Get total subscription count

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def total_subscriptions(&self) -> usize
```

### Returns

<ResponseField name="Returns" type="usize">
  The result of the operation.
</ResponseField>
