fix #23223: Count in for xml files is now correct
Merge pull request #784 from shredpub/CountInXML

fix #23223: Count in for xml files is now correct