結果 : sql get count of distinct rows