jack o'lantern vs peg-a-lantern

jack o'lantern

peg-a-lantern

How often have the words jack o'lantern and peg-a-lantern occurred in a corpus of books? (source: Google Ngram Viewer )