You may notice that in some cases the number of items reported by SharePoint in the "View All Site Content" page for a document library does not match the number of rows exported by SQList into the corresponding SQL table.

Normally that is caused by documents in the library that were uploaded for the first time and never checked in, so only the owner of the files can see them no matter the view or permissions you have.

You can access the Library settings and then click on "Manage checked out files" and you will probably see the remaining files of the total number of items that SharePoint is seeing.