Count warnings & errors