no of files copied by scp command

hi,

I have a script which copy files by using scp command. when i run that script, i can see the process meter but I want to know how many files have been copied.
suppose, by using scp 10 files is being copied and I can see process meter for all 10 files. but i also want to see ... that 10 files have been copied.
I tried to redirect of O/P of scp command to out.txt but every time that files size is zero (0).
Is there any was to find out how to capture number of files being copied by scp command.

Thanks,