in the nick of time vs successfully

in the nick of time

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

successfully

adv
  • In a successful manner; with success; without failing. 

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