attempt vs give something a shot

attempt

verb
  • To try. 

noun
  • The action of trying at something. 

  • An assault or attack, especially an assassination attempt. 

give something a shot

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

How often have the words attempt and give something a shot occurred in a corpus of books? (source: Google Ngram Viewer )