Fixed erroneous use of CounterRef instead of CounterPtr.