Fix in Counter.java: lastRate is wrong after reset()

Fix: lastRate is wrong after reset()