lose one's cookies vs spit up

lose one's cookies

verb
  • To throw up; vomit. 

spit up

verb
  • To regurgitate or vomit. 

How often have the words lose one's cookies and spit up occurred in a corpus of books? (source: Google Ngram Viewer )