Counting files in S3 buckets and folders is harder than it should be. But here's a way to get it done using s3cmd:
- Install S3cmd
- On Mac,
brew install s3cmd
- On Windows, go here
-
From the command line, run
s3cmd --configure
-
Add your credentials when prompted.