Re-added set-counter