Initialize a new counter with a given name and value (default 0)
Counter(this.name, [this.value = 0]);