be a matter of vs have a bearing on

be a matter of

have a bearing on

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