# count

The `count` condition.

True when the number of elements matching `target` satisfies the bounds; give at least one of `min`, `max` and `eq`.

Type: `object`

## Keys

| Key | Type | Description |
|---|---|---|
| `count.eq` | `integer` | The exact number of matches required. |
| `count.max` | `integer` | The most matches allowed. |
| `count.min` | `integer` | The fewest matches required. |
| `count.target` | `target` | The elements to count. |

## Example

```json
{
  "count": {
    "target": ".item",
    "min": 60
  }
}
```

From the contract fixture `loop-until-scroll`, a program the test suite validates.
