fortunately vs in the nick of time

fortunately

adv
  • It is (or was, etc) fortunate that. 

  • In a fortunate manner. 

in the nick of time

prep
  • At the last possible moment; at the last minute. 

How often have the words fortunately and in the nick of time occurred in a corpus of books? (source: Google Ngram Viewer )