Send correct total no of errors and warnings