having something on the ball vs knowing one’s stuff

having something on the ball

knowing one’s stuff

How often have the words having something on the ball and knowing one’s stuff occurred in a corpus of books? (source: Google Ngram Viewer )