in reply to Number of matching words

Thanks a lot for your help, both codes work great.
btw excellent tutorial Limbic~Region

Cheers