Make performance counters index based instead of named in counter module.