follow the example of vs take a leaf out of someone's book

follow the example of

take a leaf out of someone's book

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

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