> For the complete documentation index, see [llms.txt](https://docs.serenity.wtf/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.serenity.wtf/server-setup/counters.md).

# Counters

{% hint style="info" %}
Replace `[prefix]` with your server's prefix.
{% endhint %}

Counters are a way to keep track of different statistics in your server. You can track things humans only, bots, and more.

## Create a Counter

To create a counter, run the following command:

```
// Syntax
[prefix]counter add [counter_type] [channel_type] [name]

// Example
;counter add humans category {target} humans
```

Output:

<figure><img src="/files/ZJZy5odgnFkdAxTUHeGk" alt=""><figcaption></figcaption></figure>

## Breaking it Down

Firstly, you need to replace `[counter_type]` with an accepted counter type. You can find a list of those here: [Accepted Counter Types](https://docs.serenity.wtf/server-setup/counters#accepted-counter-types)

Next, you need to replace `[channel_type]` with an accepted channel type. You can find a list of those here: [Accepted Channel Types](https://docs.serenity.wtf/server-setup/counters#accepted-channel-types)

Lastly, you need to specify a name. The name can be anything. `{target}` indicates the number from the counter you set. In our example, we said humans. serenity would create a category named "587 humans". If I were to name it `ppl: {target}` instead, serenity would create a category named "ppl: 587".

## Remove a Counter

To remove a counter, run the following command:

```
// Syntax
[prefix]counter remove [counter_type]

// Example
;counter remove humans
```

This would remove the "humans" counter from the server. serenity will send an embed confirming the removal of the counter.

<figure><img src="/files/9Jns6OGMmLStbDgjDDy2" alt=""><figcaption></figcaption></figure>

## Accepted Counter Types

| members  | All members (including bots)   |
| -------- | ------------------------------ |
| humans   | All members (excluding bots)   |
| bots     | Bot count                      |
| boosters | Booster count                  |
| voice    | All members in a voice channel |

## Accepted Channel Types

| Type     | Description                            |
| -------- | -------------------------------------- |
| Voice    | Voice channel                          |
| Stage    | Stage channel (community servers only) |
| Text     | Text channel                           |
| Category | Channel category                       |
