add a new class[ColumnErrCounter] to count the total number of errors for each column.