---
name: "countUnknown"
type: command
status: ok
groups: ["Sides"]
arma3_since: "0.50"
locality: {"argument": "global", "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/countUnknown
revid: 377181
updated: 2026-01-01T10:49:16Z
---

# countUnknown

*Command · Sides · Arma 3 v0.50 · introduced in Operation Flashpoint v1.00*

Locality: arguments **global**

## Description

Count how many units in the array are unknown to the given unit.

## Syntax

```sqf
unit countUnknown others
```

**Parameters:**

- `unit`: [Object](../topics/Object.md)
- `others`: [Array](../topics/Array.md) of [Object](../topics/Object.md)s

**Returns:** [Number](../topics/Number.md)

## Examples

### Example 1

```sqf
_num = player countUnknown list _triggerOne;
```

## See also

[countFriendly](../commands/countFriendly.md) · [countEnemy](../commands/countEnemy.md) · [count](../commands/count.md) · [countSide](../commands/countSide.md) · [countType](../commands/countType.md)

<sub>Source: [BI Community Wiki — countUnknown](https://community.bistudio.com/wiki/countUnknown) (revision 377181).</sub>
