[hibernate-dev] HHH-11042 Count distinct tuples