Emit global number of errors
Refactor error count code.
Add condition for empty errors.
Merge branch 'develop' of github.com:TID-Lab/aggie into 1156_source_error_count
Merge branch '1156_source_error_count' into develop