have a flutter vs try one's luck on the horses

have a flutter

try one's luck on the horses

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