For calculating jaccard coefficient.