CmdID

CmdID / Commands / bitsadmin

bitsadmin getfilestotal

Retrieves the number of files in the specified job. Windows commands reference

On Windows

Opens CmdID with your command. It is read in your browser and sent nowhere.

Windows

from the Windows commands reference, CC BY 4.0
bitsadmin /getfilestotal <job>

To retrieve the number of files included in the job named myDownloadJob

bitsadmin /getfilestotal myDownloadJobIdentify
jobThe job's display name or GUID.