h4 Metadata Items Section table.table.table-sm.table-striped

thead
tr
        th(scope="col") Item
        th(scope="col") Count
tbody
- result[:metadata].each do |k, count|
        / tr(class="#{result[:metadata][k] > 0 ? '': 'text-warning'}")
        tr(class="#{result[:metadata][k] > 0 ? '': 'text-danger'}")
        td = k
        td = count