exactly what's needed vs just what the doctor ordered

exactly what's needed

just what the doctor ordered

How often have the words exactly what's needed and just what the doctor ordered occurred in a corpus of books? (source: Google Ngram Viewer )