{{$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 = $1` $h}} Msgs | {{range strings "blocks" "cid" "height = $1" $h}} {{. | substr 54 62}} {{end}} |