adds number of errors list item