[sql] Count all duplicates of each value