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

# addonSubscriptionsCount

> Get the count of subscriptions for an addon



**query** `addonSubscriptionsCount(input: SubscribedCustomersCountInput!): SubscribedCustomersCountResult!`

## Arguments

**`input`**: `SubscribedCustomersCountInput!` (required)

Get Subscribed Customers Count Input

## Returns

`SubscribedCustomersCountResult!`

**`count`**: `Int!`

The count of subscribed customers

---

**`updatedAt`**: `DateTime!`

The timestamp of the last update

## Examples

```graphql Query
query AddonSubscriptionsCount($input: SubscribedCustomersCountInput!) {
  addonSubscriptionsCount(input: $input) {
    count
    updatedAt
  }
}
```

```json Variables
{
  "input": {
    "environmentId": "string",
    "packageRefId": "string"
  }
}
```

```json Response
{
  "data": {
    "addonSubscriptionsCount": {
      "count": 1,
      "updatedAt": "value"
    }
  }
}
```


## Related topics

- [Go SDK](https://docs.stigg.io/api-and-sdks/changelog/backend-graphql/go.md)
- [SubscriptionAddonCountAggregate](https://docs.stigg.io/graphql-reference/types/SubscriptionAddonCountAggregate.md)
- [Subscription upgrades](https://docs.stigg.io/documentation/managing-customers-and-subscriptions/subscription-updates/subscription-upgrades.md)
- [SubscriptionAddon](https://docs.stigg.io/graphql-reference/types/SubscriptionAddon.md)
- [planSubscriptionsCount](https://docs.stigg.io/graphql-reference/queries/planSubscriptionsCount.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.