cocksure vs vainglorious

cocksure

adj
  • Too confident; overconfident. 

vainglorious

adj
  • With excessive vanity or unwarranted pride. 

How often have the words cocksure and vainglorious occurred in a corpus of books? (source: Google Ngram Viewer )