costing a bomb vs worth its weight in gold

costing a bomb

worth its weight in gold

How often have the words costing a bomb and worth its weight in gold occurred in a corpus of books? (source: Google Ngram Viewer )