# Counter API #
A simple counter that can only be incremented by one unit at a time.
## Fields ##
- `counter.value`: Gets the current value of the counter.
## Methods ##
| `counter:inc()` | Increment the counter by one. |
| `counter:reset()` | Reset the counter to zero. |