jack-a-lantern vs jack-o-lantern

jack-a-lantern

jack-o-lantern

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