a taste of someone's own medicine vs getting even

a taste of someone's own medicine

getting even

How often have the words a taste of someone's own medicine and getting even occurred in a corpus of books? (source: Google Ngram Viewer )