give something a shot vs try one's luck

give something a shot

verb
  • Try or attempt (something); to give something a try. 

try one's luck

verb
  • To make a risky attempt. 

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