Average size files in folder

find /var/lib/backupcc -type f \
-print0 | xargs -0 ls -l | gawk \
‚{sum += $5; n++;} END {print „Total Size: ” sum/1024/1024 ” MB : Avg Size: ” sum/n/1024 ” KB : Total Files: ” n ;}’