Salidas de conteo JQ

echo '[{"username":"user1"},{"username":"user2"}]' | jq '. | length'
> 2
Tender Turkey