# SIM_STAT_AGENT_COUNT

*LSL constant*

```lsl
integer SIM_STAT_AGENT_COUNT = 10;
```

Returns the total number of agents in the region.

Constant groups: [SimulatorStat](/constants/groups/SimulatorStat/)

## See also

### Functions

- [llGetSimStats](/functions/llGetSimStats/)

---

*Source: [SIM STAT AGENT COUNT](https://wiki.secondlife.com/wiki/SIM_STAT_AGENT_COUNT) on the Second Life Wiki. Content from the Second Life Wiki article SIM STAT AGENT COUNT (revision 1213063, 2023-01-30), CC BY-SA 3.0.*

---

From lsl.dev: https://lsl.dev/constants/SIM_STAT_AGENT_COUNT/
