How to show current tags filter in Shopify only if the current tags are more than 1

Hi Everyone

I need help please with showing the tags filter only if the current tags are more than 1, Currently my filter shows even in the case on a single tag. I tried the following but couldn’t find the exact liquid syntax:

<dd>
                

                  {% for t in tags %}
                    {% assign tag = t | strip %}
                    {% assign tag_value = tag | handleize %} 

                    {% if current_tags contains tag %}
                    {% if current_tags > 1 %}
                      1. 

                    {% else %}
                      {% if collection.tags contains tag %} 
                        1. 
                        {% endif %}
                      {% endif %}
                    {% endif %}
                  {% endfor %}
                

              </dd>

Thanks in advance

@Flipporama

Show product filter by tag if product tag contain more then 1 tag.

{% if collection.all_tags.size > 1 %}

your filter tag code for show the select box

{% endif %}