Change the print format for the results (du command like).
Change the print format for the results (du command like).

Use printf to left pad for sizes in human readable format, and right pad for classic format.
Also write the number of files for the extensions.
For example: "423M foo (56)", mean that there is 56 files having the foo extension for a total size of 423 megabytes.

teutinc/sizes-by-types