Стопорный механизм, система впрыска

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