(a) stomach upset vs (an) upset stomach

(a) stomach upset

(an) upset stomach

How often have the words (a) stomach upset and (an) upset stomach occurred in a corpus of books? (source: Google Ngram Viewer )