add num distinct to double array summary