# Maximum Ingredient Count

The `maxIngredientsCount` object sets the maximum ingredient count per meal. These are optional fields.

### List of Fields

| Field name  | Type |
| ----------- | ---- |
| `breakfast` | Int  |
| `lunch`     | Int  |
| `dinner`    | Int  |
| `snack`     | Int  |

### Example

{% tabs %}
{% tab title="GrapqhQL request" %}

```graphql
 maxIngredientsCount:{
      breakfast:5,
      dinner:5,
      snack:3,
      lunch:6
    }
```

{% endtab %}
{% endtabs %}

Use this object in the following :

* [`generateMealPlan`](https://docs.suggestic.com/graphql/query/mutations/meal-plan/generate-meal-plan)
* [`customMealPlan` ](https://docs.suggestic.com/graphql/query/mutations/meal-plan/generate-meal-plan)
