Make counter use user-given key