Showing Totals
How Can I Show Counts or Totals in the Hierarchy?
The simplest way is to have calc fields in your tables that show the counts or totals you want to see and include them when you edit the fields "DisplayContentsLevel1Calc", "DisplayContentsLevel2Calc", etc. See our section on text formatting for more tips about how to display fields you already have.