counter: Use initial counter values also after a reset