be barking up the wrong tree vs understand correctly

be barking up the wrong tree

understand correctly

How often have the words be barking up the wrong tree and understand correctly occurred in a corpus of books? (source: Google Ngram Viewer )