TOCHeadingCount

Returns the table of contents heading count for a specified heading level.

Syntax

TOCHeadingCount ( headingLevel )