attempt vs try one's luck

attempt

verb
  • To try. 

noun
  • The action of trying at something. 

  • An assault or attack, especially an assassination attempt. 

try one's luck

verb
  • To make a risky attempt. 

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