after the fashion of vs in a similar way to

after the fashion of

in a similar way to

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