hits both ways vs swings both ways

hits both ways

swings both ways

How often have the words hits both ways and swings both ways occurred in a corpus of books? (source: Google Ngram Viewer )