{% if site.yandex_metrica %} <!– Your counter code should go here –> {% endif %}