Гальмівний диск

Delphi 1001217
count(): Argument #1 ($value) must be of type Countable|array, null given