<section class="sidebar">
  <header>{{ .key | upper }}</header>
  <div>
    <ul class="terms">
      {{ range first 10 .value.ByCount }}<li><a href="{{ $.baseurl}}{{ $.key }}/{{ .Name | urlize }}">{{ .Name }}</a></li>{{ end }}
    </ul>
  </div>
</section>

<section class="sidebar">
  <header>{{ .key | upper }}</header>
  <div>
    <ul class="terms">
      {{ range $key, $value := first 10 .value.ByCount }}<li><a href="{{ $.baseurl}}{{ $.key }}/{{ .Name | urlize }}">{{ .Name }} ({{ $value.Count }})</a></li>{{ end }}
    </ul>
  </div>
</section>

Add article count to sidebar tags
Add article count to sidebar tags
