# How Are Concurrent Connections Counted?

The connection count on pricing plans indicates the number of concurrent connections allowed. For an explanation of concurrent connections see [What are concurrent Channels connections](/pusher/channels/channels/connecting/what-are-concurrent-channels-connections.md)?

A connection is counted as a WebSocket connection to Pusher. When using the Pusher JavaScript library a new WebSocket connection is created when you create a new `Pusher` instance.

```
var pusher = new Pusher('APP_KEY');
```

Channel subscriptions are created over the existing WebSocket connection (known as multiplexing), and do not count towards your connection quota (there is no limit on the number allowed per connection).

```
var channel1 = pusher.subscribe('ch1');
var channel2 = pusher.subscribe('ch2');

// All done over as single connection

// more subscriptions
// ...

var channel 100 = pusher.subscribe('ch100');

// Still just a 1 connection
```

If you want to know common reasons why connections are higher than expected, please refer [Why Am I Seeing More Channels Connections Than I Expect?](/pusher/channels/channels/connecting/why-am-i-seeing-more-channels-connections-than-i-expect.md)

{% hint style="info" %}
Still have questions? Please reach out to our Support team by visiting [this page](https://messagebird.com/support-center/Pusher-request-new).
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bird.com/pusher/channels/channels/limits/how-are-concurrent-connections-counted.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
