aws s3 ls --summarize --human-readable --recursive s3://bucket_name/go/to/path | grep 'Total'
Change bucket_name and go/to/path to yours
aws s3 ls --summarize --human-readable --recursive s3://bucket_name/go/to/path | grep 'Total'
Change bucket_name and go/to/path to yours