GeoGen Script reference
GGE2104

Condition expression in an if, while or for statement returned a value of incorrect type (Boolean is expected).

var array = {1, 2, 3};
if(array.Count()) // GGE2104, got Number (use "array.Count() > 0")
{
Print("Empty!");
}