Датчик, положение распределительного вала

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