+ Fix typo with missing comma in counterNames array + Change std::string argument to const std::string& argument in all functions