A simple money counter