pattern oneself after vs take a leaf out of someone's book

pattern oneself after

take a leaf out of someone's book

verb
  • To adopt an idea or practice of another person. 

How often have the words pattern oneself after and take a leaf out of someone's book occurred in a corpus of books? (source: Google Ngram Viewer )