It's difficult because almost every word in your answer is a minefield that cannot be handled simply:
measure: how does one truly measure anything related to a team or individual? Just as lines of code is a bad measure of a developer, even very quantifiable things like sales numbers don't tell the whole story. A salesperson who hooks clients on promises that can't be kept is not doing a good job, no matter how it might look in one quarter. Goodhart's law exists for a reason.
total: a team that appears to be high performing but depends on the output of a small portion of that team, or that is high performing despite several team members, is not a success. People who carry a team often leave for better compensation or challenge. People who appear to have high output themselves at the expense of others should be removed from the team. People who are ineffective on a particular team should find a new environment where they can achieve more success.
output: Not all teams exist to produce specific output. An IT department might replace 50 broken keyboards across the company in a quarter, but it would be foolish to ask "what can we do to get that number to 75?"
their team: A manager usually exists both to help direct reports do a better job, but also to provide timely and pertinent information to other teams, and many organizations have teams that primarily serve "internal customers". An operations team could be given a goal of "zero new bugs or outages" and freeze all new deployments to achieve it. But the development teams would obviously be upset, and the entire company would likely suffer.
the output of a team is knowable. It doesn't matter if that output is the result of only a portion of the team, if the manager is enabling that small portion then that's what success looks like.
Depends on the industry. For grunt work it's pretty easy. If you're manufacturing widgets, count how many widgets you make per employee hour while staying below a certain defect rate. For professional jobs where the task is never the same and your contribution is applying your intelligence to defining, understanding, and solving new problems in the best way, it's not easy because developing a test of productivity can be nearly as hard as doing the work, maybe even harder.
Why would it be difficult to measure what managers do? Measure the total output of their team. That's it.