結果 : get distinct count postgres