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

# participantCounts()

> Returns the total number of present and hidden participants currently in the call.

`participantCounts()`

Returns participant totals for the current call, split between present and hidden participants. Useful when you only need counts — for example, a "people in room" indicator — without needing the full participant objects from [`participants()`](https://docs.daily.co/reference/react-native/instance-methods/participants).

Values are only updated after [`join()`](https://docs.daily.co/reference/react-native/instance-methods/join) completes. Pre-join steps like [`preAuth()`](https://docs.daily.co/reference/react-native/instance-methods/pre-auth) and [`startCamera()`](https://docs.daily.co/reference/react-native/instance-methods/start-camera) do not affect counts. The local participant is included in the totals.

## Return value

Returns `DailyParticipantCounts`:

**present** `number`

Participants with `hasPresence: true` — visible to others and may be able to share media (depending on separate media permissions). These are the participants returned by [`participants()`](https://docs.daily.co/reference/react-native/instance-methods/participants).

**hidden** `number`

Participants with `hasPresence: false` — not visible to others and unable to share media. Common in large meetings where some participants are passive viewers.

## Example

```javascript theme={null}
const { present, hidden } = call.participantCounts();
const total = present + hidden;
console.log(`${total} in call (${present} present, ${hidden} hidden)`);
```

## See also

> [card] Types
>
> * [DailyParticipantPermissions](https://docs.daily.co/reference/react-native/types/daily-participant-permissions.md)

> [card] Methods
>
> * [participants()](https://docs.daily.co/reference/react-native/instance-methods/participants.md)
> * [updateParticipant()](https://docs.daily.co/reference/react-native/instance-methods/update-participant.md)

> [card] Events
>
> * [participant-counts-updated](https://docs.daily.co/reference/react-native/events/participant-events.md#participant-counts-updated)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.