The number of items it fetches and iterates through is not matching with the count of the items when we export items using EXPORT button from SharePoint portal.
Skipped few file items
Mismatch number of rows
Duplicate data
Kindly help us to get exact data from document library