count of nodes in xsl

i have a xsl with the following line
<xsl:value-of select=“count(.)”/>
the result is as follows
“Unknown method. -->count(.<–)”
the xsl runs well once i removed the above line

does this means my tamino is not able to support the ‘count’ xsl function?
What can i do to overcome this?
system setting/upgrade?
API workarround?
Thanks alot

Strange. How are you running this stylesheet, what XSLT processor are you using?

count(.) is an odd thing to do - the answer will always be 1 - but it’s legal and should work.

Michael Kay