a king's ransom vs heaps of money

a king's ransom

heaps of money

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