added attributes for global errors and warnings count