ally with vs link up with

ally with

link up with

How often have the words ally with and link up with occurred in a corpus of books? (source: Google Ngram Viewer )