go by the name of vs nickname

go by the name of

verb
  • To call oneself; to use as a name, especially a moniker or nickname. 

nickname

verb
  • To give a nickname to (a person or thing). 

noun
  • A familiar, shortened or diminutive name for a person or thing. 

  • A familiar, invented name for a person or thing used instead of the actual name of the person or thing, often based on some noteworthy characteristic. 

How often have the words go by the name of and nickname occurred in a corpus of books? (source: Google Ngram Viewer )