def METHOD_NAME (f):
    def counted_func (*args, **kwds):
        count (f.__module__ + "." + f.__name__ + ".cnt")
        return f(*args, **kwds)
    counted_func.__name__ = f.__name__
    counted_func.__doc__ = f.__doc__
    return counted_func