[Zope] Re: Doing an object count

Jonothan Farr jfarr@real.com
Wed, 3 May 2000 12:20:17 -0700


> How do I get a count of objects in Zope, either in the current folder or
> in a subfolder? Do I use the len method?
> 
> I know this should be simple, but it has me stumped : (.

Yup. 

<dtml-var "_.len(objectIds())">
<dtml-var "_.len(subfolder.objectIds())">

-jfarr