be hoist with one's own petard vs try to be too clever

be hoist with one's own petard

try to be too clever

How often have the words be hoist with one's own petard and try to be too clever occurred in a corpus of books? (source: Google Ngram Viewer )