play a joke vs play a trick

play a joke

play a trick

How often have the words play a joke and play a trick occurred in a corpus of books? (source: Google Ngram Viewer )