be hoist with one's own petard vs be too clever by half

be hoist with one's own petard

be too clever by half

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