Added the XML entity counter.