private int next() {
    return ++counter < 0 ? counter = 0 : counter;
  }
Increases version number of each evaluations for correct caching
ql/src/java/org/apache/hadoop/hive/ql/exec/ExprNodeEvaluatorHead.java