profess to be vs set oneself up as

profess to be

set oneself up as

How often have the words profess to be and set oneself up as occurred in a corpus of books? (source: Google Ngram Viewer )