# RecordCountData

Type: object

Schema: [RecordCountData](https://docs.searchsoftware.nl/api/models/recordcountdata.md)

- `count` (required)
  Type: integer, int32
  
  Example:
  
  ```json
  42
  ```

- `approximate` (required)
  Type: boolean
  
  True when visibility is filtered for the caller and the number may lag recent permission changes.
  
  Example:
  
  ```json
  false
  ```

- `groups` (optional)
  Type: array
  
  Only with group_by. Values with no records are left out.
  
  Items:
    Reference: [RecordCountGroup](https://docs.searchsoftware.nl/api/models/recordcountgroup.md); Type: object

- `none_count` (optional)
  Type: integer, int32
  
  Only with group_by: records without a value.
  
  Example:
  
  ```json
  3
  ```

- `overlapping` (optional)
  Type: boolean
  
  Only with group_by: true for multivalue attributes, where group counts can add up to more than count.
  
  Example:
  
  ```json
  false
  ```

- `document_matches_truncated` (optional)
  Type: boolean
  
  Only with document_query, and only when true: the count covers the first 200 matching records only.
  
  Example:
  
  ```json
  true
  ```