@Override
    public int getTermCount() {
        int terms = 0;
        for (Item item : subitems)
            terms += item.getTermCount();
        return terms;
    }
Whether this composite is in a mutable state.
container-search/src/main/java/com/yahoo/prelude/query/CompositeItem.java