Update CounterController.java

This compiles.