@Override
  public long startFunctionExecution(boolean haveResult) {
    statistics.incInt(functionExecutionCallsId, 1);
    statistics.incInt(functionExecutionsRunningId, 1);

    if (haveResult) {
      statistics.incInt(functionExecutionsHasResultRunningId, 1);
    }

    aggregateStatistics.startFunctionExecution(haveResult);

    return clock.getAsLong();
  }
Total number of exceptions occurred while executing function
geode-core/src/main/java/org/apache/geode/internal/cache/execute/metrics/FunctionStatsImpl.java