be capable of vs have what it takes to

be capable of

have what it takes to

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