結果 : count distinct case when sql server