add the results of count(distinct)