human
I wrote the below code

    def decorate(func):
        func_name = func.func_name
        counts[func_name] = 0
        def call(*args, **kwds):
            counts[func_name] += 1
            return func(*args, **kwds)
        call.func_name = func_name
        return call
    return decorate

What's a good function header?
 ... Here's a good function header?
assistant
#Here's a good function header.

def countcalls(counts):