my goodness vs what do you know

my goodness

intj
  • Used to express surprise, shock, or amazement. 

what do you know

phrase
  • Used other than figuratively or idiomatically: see what, do, you, know. 

  • What a surprise; guess what? 

How often have the words my goodness and what do you know occurred in a corpus of books? (source: Google Ngram Viewer )