add CAS counter.