Short answer: no, RQL might be the easiest
Long answer: yes, but it is a hack. Prior calling /cms/aspdll/
Templates/ioFrame4166.htm, set session("treetype") to link, set
session("treeguid") to guid of the list or container
Another semi related info, if you want to know how many pages are
connected to element in SmartEdit, you might not want to use a for
loop since that is server side processing intensive. If possible, use
JavaScript/JQuery, like this
$("#mylist li").length;