Check the number of words overlapping between 2 phrases or sentences