Is there any way to count how many item in the items field ? In the following case is 3.
I would like to filter docs with more than one item within items. Thanks.
{
"grocery_name": "Elastic Eats",
"items": [
{
"name": "peach",
"stock": "10"
},
{
"name": "carrot",
"stock": "9"
},
{
"name": "broccoli",
"stock": "5"
}
]
}