Get Mystery Box with random crypto!

Ensure error count print in output for script Content: Hell | DataHoardingFreaks: DataHoarding, Storage and Cloud Backup Freaks by RoadToPetabyte [DataHoarders / AppleDataHoarding]

Ensure error count print in output for script
Content:

Hello all
I'm writing a script that runs a rclone sync/copy command, then creates a notification that prints the output in a dummy-readable format. I've figured most of everything out for the notification, however I can't seem to figure out how to make sure the number of errors prints along with the final output - regardless of errors=0
Is there a hidden argument or something in bash that can do this for me? So far I can consistently print number of files already in destination vs number of files to be synced, size overall of sync vs total uploaded, number of files, etc... just can't seem to make number of errors to print
Thanks in advance

We are DataHoardingFreaks. A @roadtopetabyte project