integer XML_Statistics::countTag ( 
      string $tagname = null
     )
Counts how often a certain tag is used in the document. If no tagname is specified ot will count the total number of tags.
       string $tagname - name of the tag to count
      
integer occurences of the tag
This function can not be called statically.