integer XML_Statistics::countExternalEntity ( 
      string $name = null
     )
Counts how often a certain external is used in the document. If no name is specified ot will count the total number of external entities.
       string $name - name of the external entity, without '&' and ';'
      
integer occurences of the external entity
This function can not be called statically.