IStrings.Count
IStrings

function Count: Integer;

Type Library
TeeChartx

Description
Use the IStrings Count method to count all text lines in the TChart Header.

Example [Visual Basic]:

Msgbox TChart1.Header.Text.Count