Clean: Add Global Counter to the ref