agree on vs thrash something out

agree on

thrash something out

How often have the words agree on and thrash something out occurred in a corpus of books? (source: Google Ngram Viewer )