knows what’s what vs wise to

knows what’s what

wise to

How often have the words knows what’s what and wise to occurred in a corpus of books? (source: Google Ngram Viewer )