Count

Declaration: TStringList.Count: integer;
The property Count returns the number of strings in the string list. Please note that the string list is a zero-based array. Thus the last element of a string list is addressed by Count-1.