﻿---
title: Count option for replicas
description: The value for this setting is the number of replicas to assign to matching indices. There is no default value. This setting must be set by the user or...
url: https://www.elastic.co/elastic/docs-builder/docs/3028/reference/elasticsearch/curator/option_count
products:
  - Elasticsearch
  - Elasticsearch Curator
---

# Count option for replicas
<note>
  This setting is required when using the [replicas action](https://www.elastic.co/elastic/docs-builder/docs/3028/reference/elasticsearch/curator/replicas).
</note>

```yaml
action: replicas
description: >- Set the number of replicas per shard for selected
    indices to 'count'
options:
  count: ...
filters:
- filtertype: ...
```

The value for this setting is the number of replicas to assign to matching indices.
There is no default value. This setting must be set by the user or an exception will be raised, and execution will halt.