change distinct values to distinct count

distinct values can be fetched from the dictionary page