as near as dammit vs in all but name

as near as dammit

in all but name

How often have the words as near as dammit and in all but name occurred in a corpus of books? (source: Google Ngram Viewer )