easy as pie vs piece of cake

easy as pie

adj
  • Very easy. 

piece of cake

noun
  • Used other than figuratively or idiomatically: see piece, cake. 

  • A job, task or other activity that is pleasant – or, by extension, easy or simple. 

How often have the words easy as pie and piece of cake occurred in a corpus of books? (source: Google Ngram Viewer )