 items = company[feature] %}
    {% if items %}
      {% assign visible_items = "" | split: "" %}
      {% for i in items %}
        {% if feature == "tms" %}
          {% if i.id != page.id %}
            {% assign visible_items = visible_items | push: i %}
          {% endif %}
        {% else %}
          {% assign visible_items = visible_items | push: i %}
        {% endif %}
      {% endfor %}

      {% if visible_items.size > 0 %}
        {% assign total_visible_items = total_visible_items | plus: vis