It is never 0 here as you are in the ``else`` part of ``if (1 >= ($attributesCount = count($rootAttributes))) {``, which means ``1 < $attributesCount``