Request: count of orders per status, keeping only statuses with more than one
Input:
paid
paid
pending
refunded
refunded
refunded
jq program: group_by(.status) | map({status: .[0].status, n: length}) | map(select(.n > 1))
Output:
paid
refunded