Request: how many items are in each order
Input:
id: 1
items: 1
2
3
id: 2
items: 1
jq program: map(.items | length)
Output:
3
1