simple script to count the no. of common chunks in two files