new functionnality : prints the number of pairs considered in the computation.