stake money on something vs try one's luck on the horses

stake money on something

try one's luck on the horses

How often have the words stake money on something and try one's luck on the horses occurred in a corpus of books? (source: Google Ngram Viewer )