John Doe vs ragtag (and bobtail)

John Doe

name
  • A fictitious name used in legal documents for an unknown or anonymous male person. 

noun
  • Any unknown or anonymous male person. 

ragtag (and bobtail)

How often have the words John Doe and ragtag (and bobtail) occurred in a corpus of books? (source: Google Ngram Viewer )