pattern oneself after vs take as an example

pattern oneself after

take as an example

How often have the words pattern oneself after and take as an example occurred in a corpus of books? (source: Google Ngram Viewer )