KPIService : add methods : purgeHistory, countMeasuresOfKpi, isKpiFormulaShared