go in for something vs have something to do with something

go in for something

have something to do with something

How often have the words go in for something and have something to do with something occurred in a corpus of books? (source: Google Ngram Viewer )