answer the purpose vs be up to snuff

answer the purpose

be up to snuff

How often have the words answer the purpose and be up to snuff occurred in a corpus of books? (source: Google Ngram Viewer )