From: Bowyer, Alex >I want to count how many objects are contained in the current container >object and then do something with that value, but I can't do the bit I >need to do at the point of reading the count variable because I am in >the wrong namespace. I would try and do it like this (untested): <dtml-call "REQUEST.set('itemCount', len(objectIds()))"> Regards Max M