{{$h := .}} {{$h}}; | {{qstr `select count(distinct block_messages.message) from block_messages inner join blocks b on block_messages.block = b.cid where b.height = ?` $h}} Msgs | {{range strings "blocks" "cid" "height = ?" $h}} {{. | substr 54 62}} {{end}} |