# CountGridConfig

***

The grid configuration for a count-based precomputed aggregate value. Compared to the [AggregatedGridConfig](/js-sdk-api-reference/layers/aggregatedgridconfig.md), the `attribute` property is not required, because the count is the same regardless of the attribute.

Used inside [GetLayerPrecomputedCalculationParams](/js-sdk-api-reference/layers/getlayerprecomputedcalculationparams.md).

## Properties

### resolution

> **resolution**: `number`

The resolution of the grid to use for the precomputed calculation.

***

### type

> **type**: `"h3"`

The type of grid to use for the precomputed calculation.

***

### method

> **method**: `"count"`

The method to use for the precomputed calculation, which in this case is always "count".


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developers.felt.com/js-sdk-api-reference/layers/countgridconfig.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
