printf "Total errors for %s: %d\n", $_, $count{$_} for keys %count;