Redfin Interview Question

Implement a Counter object