be sure of vs pin one's hope on

be sure of

pin one's hope on

How often have the words be sure of and pin one's hope on occurred in a corpus of books? (source: Google Ngram Viewer )