private boolean checkForCountOnly(Map<Integer, CompiledAggregateFunction> aggregateMap,
      List<?> projAttribs, List<CompiledValue> groupBy) {
    if (aggregateMap != null && aggregateMap.size() == 1 && projAttribs.size() == 1
        && groupBy == null) {
      for (Map.Entry<Integer, CompiledAggregateFunction> entry : aggregateMap.entrySet()) {
        CompiledAggregateFunction caf = entry.getValue();
        if (caf.getFunctionType() == OQLLexerTokenTypes.COUNT && caf.getParameter() == null) {
          return true;
        }
      }
    }
    return false;
  }
Processes import statements only. This compiler instance remembers the imports and can be used
to compile other strings with this context info
geode-core/src/main/java/org/apache/geode/cache/query/internal/QCompiler.java