﻿---
title: Elasticsearch Curator count filter setting
description: The value for this setting is a number of indices or snapshots to match. Items will remain in the actionable list depending on the value of exclude, and...
url: https://www.elastic.co/elastic/docs-builder/docs/2395/reference/elasticsearch/curator/fe_count
---

# Elasticsearch Curator count filter setting
<note>
  This setting is only used with the [count](https://www.elastic.co/elastic/docs-builder/docs/2395/reference/elasticsearch/curator/filtertype_count) filtertype and is a required setting.
</note>

```yaml
- filtertype: count
  count: 10
```

The value for this setting is a number of indices or snapshots to match.
Items will remain in the actionable list depending on the value of [exclude](https://www.elastic.co/elastic/docs-builder/docs/2395/reference/elasticsearch/curator/fe_exclude), and [reverse](https://www.elastic.co/elastic/docs-builder/docs/2395/reference/elasticsearch/curator/fe_reverse).
There is no default value. This setting must be set by the user or an exception will be raised, and execution will halt.