    public void countGains() {

        //parentEntropy = 
        //List<EntStatistic> stat = e;

        //for (int i = 0; i < stat.size(); i++) {
        //    
        //}
        if (gains == null) {
            gains = new ArrayList<GainsEntity>();
        }