Fix issue 0000047: JpaUtils.count doesn't respect the distinct flag from the original query
Fix issue 0000047: JpaUtils.count doesn't respect the distinct flag from the original query

chelu/jdal,chelu/jdal