public int itemCount() {
        return items.size() - startPosition;
    }
Returns the total number of items to match in this evaluation
container-search/src/main/java/com/yahoo/prelude/semantics/engine/RuleEvaluation.java