distant from vs not pertinent

distant from

not pertinent

How often have the words distant from and not pertinent occurred in a corpus of books? (source: Google Ngram Viewer )