caravan inn vs caravansary

caravan inn

caravansary

How often have the words caravan inn and caravansary occurred in a corpus of books? (source: Google Ngram Viewer )