Using SQL COUNT With DISTINCT: an Example