xxxxxxxxxx
aws s3 ls s3://mybucket/ --recursive | wc -l
xxxxxxxxxx
aws s3 ls s3://YOUR_BUCKET/folder/ --recursive --human-readable --summarize
xxxxxxxxxx
aws s3 ls s3://bucketName/path/ --recursive --summarize | grep "Total Objects:"
Total Objects: 194273