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

# Mob Count Fact

> Returns the number of active mobs of a specific type.

The `btcmob_count_fact` allows you to check how many instances of a specific BTCMob are currently active, optionally within a radius.

## Configuration

<ResponseField name="btcmob_count_fact" type="Map" required>
  Configuration for the mob count fact.

  <Expandable title="Properties">
    <ResponseField name="mobName" type="String" required>
      The internal name of the BTCMob to count.
    </ResponseField>

    <ResponseField name="radius" type="Double">
      The radius around the player to check. If omitted, checks the entire world/loaded chunks (depending on implementation).
    </ResponseField>
  </Expandable>
</ResponseField>

## Examples

```yaml theme={null}
# Condition: Are there any "Zombies" within 20 blocks?
condition:
  btcmob_count_fact:
    mobName: "Zombie"
    radius: 20
  operator: ">"
  value: 0
```
