split out count for errors/warnings