pattern oneself on vs take as an example

pattern oneself on

take as an example

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