add number of warnings