A simple balance report. It has:
a list of items, one per account, each containing:
the full account name
the Ledger-style elided short account name (the leaf account name, prefixed by any boring parents immediately above); or with --flat, the full account name again
the number of indentation steps for rendering a Ledger-style account tree, taking into account elided boring parents, --no-elide and --flat
an amount
the total of all amounts