Термостат, охолоджуюча рідина

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