be of advantage to vs be to the advantage of

be of advantage to

be to the advantage of

How often have the words be of advantage to and be to the advantage of occurred in a corpus of books? (source: Google Ngram Viewer )