go to the trouble vs take the trouble

go to the trouble

verb
  • To make an effort. 

take the trouble

verb
  • To make the effort (to do something); to bother. 

How often have the words go to the trouble and take the trouble occurred in a corpus of books? (source: Google Ngram Viewer )