counter
Sets the counter parameter, which defines the initial counter value.
This is a required parameter and will be initially set by the constructor parameter initialCounter. Calling this method will overwrite the initial value from the constructor.