Adding ID Document count into Complete.XML