select COUNT(DISTINCT id) if select_values is ["DISTINCT *"]