anchor.diff:        for I := 0 to High(aArray) do
           if aArray[I] = aElement then
             Inc(Result);
  -    end
  -    else
  -      LogParamWarning('Utils.ArrayElementCountB: Requested array is empty',[]);
  +    end;
     except
       gScriptEvents.ExceptionOutsideScript := True;
       raise;
  
positive.code:       for I := 0 to High(aArray) do
          if aArray[I] = aElement then
            Inc(Result);
      end
      else
        LogParamWarning('Utils.ArrayElementCountI: Requested array is empty',[]);
    except
      gScriptEvents.ExceptionOutsideScript := True;
      raise;
  
negative.code:       for I := 0 to High(aArray) do
          if aArray[I] = String(aElement) then
            Exit(True);
      end;
    except
      gScriptEvents.ExceptionOutsideScript := True;
      raise;
  