public int immuneCounter(Type primary, Type secondary) {
        int counter = 0;
        if (immuneTypes == null || immuneTypes.length ==0) {
            return 0;
        }
        
        for (int i = 0; i < immuneTypes.length; i++) {
            if (immuneTypes[i].equalsTo(primary.showType()) || immuneTypes[i].equalsTo(secondary.showType())) {
                counter ++;
            }
        }
        
        return counter;


    }