Added opperation based counter.