in the nick of time vs swimmingly

in the nick of time

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

swimmingly

adv
  • With a gliding motion suggesting swimming. 

  • In a very favourable manner; without difficulty; agreeably, successfully. 

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