Adding more convenient overloads for performance_counters::discover_counter.