JQ Count output

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