{eyou:models typeid="3" loop='10' id='field1' currentclass='active'}
<li>
<a href="{$field1.typeurl}">{$field1.typename}{eyou:notempty name='$field1.children'}<i class="iconfont iconfont1"></i>{/eyou:notempty} <em>(这里需要调用栏目下的文档数量)</em></a>
{eyou:notempty name='$field1.children'}
<ul class="two">
{eyou:models name='$field1.children' id='field2' loop='10'}
<li><a href="{$field2.typeurl}">{$field2.typename}{eyou:notempty name='$field2.children'}<i class="iconfont iconfont2"></i>{/eyou:notempty}</a>
{eyou:notempty name='$field2.children'}
<ul class="stree">
{eyou:models name='$field3.children' id='field3' loop='10'}
<li><a href="{$field3.typeurl}">{$field3.typename}</a></li>
{/eyou:models}
</ul>
{/eyou:notempty}
</li>
{/eyou:models}
</ul>
{/eyou:notempty}
</li>
{/eyou:models}
请教一下,如何调用每个栏目分类下的文档数量,这个是产品模型的