Add calculated value to counter resource