a king's ransom vs a tidy sum

a king's ransom

a tidy sum

How often have the words a king's ransom and a tidy sum occurred in a corpus of books? (source: Google Ngram Viewer )