# int Query::count()

[Family: Query](/imperivm/en/CKS/familias/query/)

## Exact signature

```text
int Query::count()
```

## Description

Returns the result container's count for a resolved Query, or zero for an invalid receiver.

## Parameters and return type

**Return type:** `int`

The member is called on an object. Its receiver is not repeated among this signature’s arguments.

This signature takes no additional arguments.

## Read and share

- [Markdown](/imperivm/exports/en/cks/api-1ea7e5d83ed77e.md)
- [JSON](/imperivm/CKS/api/entries/api-1ea7e5d83ed77e?lang=en)

Keep the notes and limitations when reusing this description. Do not infer undocumented parameter meanings, units or effects.
