# ExpectedDocumentsCount

`ExpectedDocumentsCount` sets the number of documents expected to be detected.

## JSON Structure

**Location in template:**
```
DocumentNormalizerTaskSettingOptions[i]
    └── ExpectedDocumentsCount
```

**Parent object:** [DocumentNormalizerTaskSetting](https://www.dynamsoft.com/capture-vision/docs/core/parameters/file/task-settings/document-normalizer-task-settings.md)

**Example:**

```json
{
    "ExpectedDocumentsCount": 1
}
```

> [!NOTE]
> - This snippet shows only the `ExpectedDocumentsCount` parameter.
> - To use it, embed this parameter within a [DocumentNormalizerTaskSetting](https://www.dynamsoft.com/capture-vision/docs/core/parameters/file/task-settings/document-normalizer-task-settings.md) object in the complete JSON structure.
> - For the complete JSON structure, see:
>   - [Full JSON Structure](https://www.dynamsoft.com/capture-vision/docs/core/parameters/file/index.md#full-json-structure)
>   - [Minimal Valid JSON](https://www.dynamsoft.com/capture-vision/docs/core/parameters/file/index.md#minimal-valid-json-example)

## Parameter Details

| ExpectedDocumentsCount Parameter Details |
| :--------------- |
| **Type**<br><i>int</i> |
| **Range**<br>[0, 0x7fffffff] |
| **Default Value**<br> 1 |
