have affairs vs toy with someone's affections

have affairs

toy with someone's affections

How often have the words have affairs and toy with someone's affections occurred in a corpus of books? (source: Google Ngram Viewer )