Changed KPI task to cope with missing parameters (numTokens and consumptionLimit)