A simple-not-so-simple counter app