define Counter (Number num) inc () inc become new Counter> dec () dec become new Counter>