beating one's meat vs playing with oneself

beating one's meat

playing with oneself

How often have the words beating one's meat and playing with oneself occurred in a corpus of books? (source: Google Ngram Viewer )