[hibernate-issues] [JIRA] (OGM-1542) Distinct count works as count(*)