I would like to create a summary page for all institutes which count the number colleagues in institute.
Each institute is tagged by Institute with institute name by title. Each colleague is tagged by Institute Name.
This is my current implementation. But it is not working as I expected (i.e. all numbers equal to zero).
<table>
<tr>
<th>Name</th>
<th># of Colleagues</th>
</tr>
<$list filter="[tag[Institute]!has[draft.of]]" >
<$set name="tiddlertitle" value= {{!!title}} >
<tr>
<td><$link to=<<currentTiddler>> /> </td>
<td><$text text= {{{ [tag[<tiddlertitle>]!has[draft.of]count[]] }}}/></td>
</tr>
</$set>
</$list>
</table>
I replace the <tiddlertitle> with real institute name then the script is working.
Thanks for any tips?