dress smartly vs dress up to the nines

dress smartly

dress up to the nines

How often have the words dress smartly and dress up to the nines occurred in a corpus of books? (source: Google Ngram Viewer )