結果 : distinct and count in same query sql