nearly all vs the greatest number

nearly all

the greatest number

How often have the words nearly all and the greatest number occurred in a corpus of books? (source: Google Ngram Viewer )