ending vs in for the long haul

ending

noun
  • A termination or conclusion. 

  • The last part of something. 

  • The last morpheme of a word, added to some base to make an inflected form (such as -s in "dogs"). 

in for the long haul

How often have the words ending and in for the long haul occurred in a corpus of books? (source: Google Ngram Viewer )