ok, con il COUNT(DISTINCT(dt_id)) cnt sembra funzionare bene.
grazie!!!