getnumlines(relname)

count the number of times a relname_num occures.

Parameters:

- rename | name of the template

Ex. a template used with makenewline("doclist"). In this state it will return 0, but after used makenewline("doclist") 2 times it will have two lines and this return 2.

<tr id="doclist_" class="d-none">
<td><a id="name_" class="dort" href="#"></a></td>
<td><button id="dodt_" class="btn btn-outline-warning btn-sm dodt">Edit</button></td>
<td id="type_"></td>
<td id="updated_"></td>
</tr>