stick one's neck out vs take the liberty of doing

stick one's neck out

verb
  • To take a risk, putting oneself in a vulnerable position. 

take the liberty of doing

How often have the words stick one's neck out and take the liberty of doing occurred in a corpus of books? (source: Google Ngram Viewer )