Add number of collisions in hash tables to statistics.