I hope this isn't too vague, but I have a large XML file and when I try to use a count function in an XSL file to get the number of nodes, it returns 0 for a particular node. I can correctly count the nodes above it (there is only one at each level) and I can also correctly count nodes at the same level. The node that it is can't seem to count has child nodes beneath it also.

Thanks