Count the number of bytes:
Modify any one of the last three programs, to also count the total number of bytes actually copied, the count should appear in a register. I suggest you set a breakpoint at the INT 20 instruction, because the registers can be reset if the INT 20 instruction is allowed to execute.