How can I determine the bucket size using the s3cmd tool?

One of the challenges with S3-style storage (Wasabi or even AWS S3) is determining the size of a storage bucket. Wasabi started providing this capability via a bucket size feature but AWS S3 still does not offer this feature. This means that it is sometimes necessary to turn to a third-party tool for this purpose. One such tool is S3cmd. S3cmd is a command line tool that allows a user to view and manage their s3 buckets. It can be extremely useful for getting finer details about your s3 buckets.