counter.increase(float value);
This operation will add the increase value to total element of the counter, and plus one to increase time. Then you can check the current total value and increase times through the following two APIs:
counter.currentTotal(); //retrieve current total value. counter.increaseTimes(); //retrieve increase times value.