cobble something together vs do something off the top of one's head

cobble something together

do something off the top of one's head

How often have the words cobble something together and do something off the top of one's head occurred in a corpus of books? (source: Google Ngram Viewer )