@Override
  public void accumulate(Object value) {
    if (value != null && value != QueryService.UNDEFINED) {
      ++count;
    }
  }
Computes the count of the non distinct rows for replicated & PR based queries.
geode-core/src/main/java/org/apache/geode/cache/query/internal/aggregate/Count.java