Update total number of comparison.