by a hair vs not much

by a hair

not much

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