following the pattern of vs similar to

following the pattern of

similar to

How often have the words following the pattern of and similar to occurred in a corpus of books? (source: Google Ngram Viewer )