Increments a counter each time the device is started.