good night vs goodnight

good night

phrase
  • A farewell said in the evening or before going to sleep. 

goodnight

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