Diff Command to return the number of lines inserted,deleted and changed.

Hello,
I have to compare two files file1 and file2, retrieve the number of lines modified (added, deleted or modified) in file2. Output must be like:

File2:
Added Deleted Changed Total
------ ------- -------- -----
2 1 1 4

Somebody please help me, Thanks in advance!!!

diff -e t.lis s.lis
15d
2a
hi there
.

The syntax is line number[, line number end]command [text]
where command is one one of a, c, d
. marks the end of the ed command stream

Count the number of d commands - deletes
Count the number of a commands - inserts
Count the number of c commands - changes
When there is a line range eg., 13,17a subtract 17 - 13 to get the number of lines

Is this homework?

Thanks jim mcnamara for the help. I am new to unix. My actuall requirement is:
I have two versions of directories OLD and LATEST. I need to compare the files in both the versions and list the files that differ in both the veresions. Also i need to list the differences in the number of lines in each different files from the two versions.
Ex:
OLD has files a.txt, b.txt
LATEST has a.txt, b.txt

After Comparison a.txt is similar in both OLD and LATEST. b.txt is modified in LATEST so when diff is done, it is compared and the output should result in the number of lines as discussed above.