worth a king’s ransom vs worth one’s weight in gold

worth a king’s ransom

worth one’s weight in gold

How often have the words worth a king’s ransom and worth one’s weight in gold occurred in a corpus of books? (source: Google Ngram Viewer )