be barking up the wrong tree vs get someone wrong

be barking up the wrong tree

get someone wrong

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