{% capture site_tags %}{% for tag in site.tags %}{{ tag | first | downcase }}|{{ tag | first }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %} {% assign tag_words = site_tags | split:',' | sort %}
{% for tag_pair in tag_words %} {% assign tag = tag_pair | split:'|' | last %} {{ tag }} {{ site.tags[tag] | size }} {% endfor %}

{% for tag_pair in tag_words %} {% assign tag = tag_pair | split:'|' | last %}

{{ tag }}

{% endfor %}