Reset the current value of a counter.
Counter::resetValue resets the current value of a counter to its original initial value.