add subject count to class group, make Openshift persistence.xml default cfg setting.