Use stripped key in legacy namespace for counters.

This is needed for tag support in legcacy namespace for counters.