by a hair vs not a bit

by a hair

not a bit

How often have the words by a hair and not a bit occurred in a corpus of books? (source: Google Ngram Viewer )