to be had vs up for sale

to be had

up for sale

How often have the words to be had and up for sale occurred in a corpus of books? (source: Google Ngram Viewer )