Jack O'Lantern vs jack-o-lantern

Jack O'Lantern

jack-o-lantern

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