Added "namespace" support so different counters can coexist