roll of the dice vs way the cookie crumbles

roll of the dice

noun
  • A risky or uncertain attempt to do something, especially in an unfavourable situation. 

way the cookie crumbles

How often have the words roll of the dice and way the cookie crumbles occurred in a corpus of books? (source: Google Ngram Viewer )