TStringList.GetCount is a protected function should be used only internally. You can use TStringList.Count to get the same results.