def counter(self, name):
return self._get_or_add_stat(name, Counter)<EOL>
Creates or gets an existing counter.

        :param name: The name
        :return: The created or existing counter for the given name