in the act vs with one's hand in the cookie jar

in the act

prep
  • In the process of doing something considered criminal or otherwise wrong; used to emphasize the eye-witness evidence. 

with one's hand in the cookie jar

How often have the words in the act and with one's hand in the cookie jar occurred in a corpus of books? (source: Google Ngram Viewer )