get value to counter