Count results with JMESPath aws

Count unattached EBS volumes in one call using length(); --profile/--region scope it

aws ec2 describe-volumes --filters Name=status,Values=available --query 'length(Volumes[])' --output text --profile staging --region <id>