Use Robocopy.
It will tell you the number of directories searched, the number of files checked, the number of bytes those files contained. For each of those it will tell you how many were skipped, mismatched or failed, as well the as the speed of the transfer and how long the backup took.
http://technet.microsoft.com/en-us/library/cc733145(WS.10).aspx
Robocopy has been part of the DOS utilities since Windows 2000.
To increment a counter you need to use set /a - that is if you're using it as an environmental variable.
This may help you...
http://stackoverflow.com/questions/5248393/windows-batch-file-to-copy-and-keep-duplicates
http://www.robvanderwoude.com/shorts.php
To write the variable to a file you need to echo it
echo %count% > c:\users...
depending on what you are trying to do you sometimes have to append the count
echo %count% >> c:\users...