idiocy vs stupidity

idiocy

noun
  • An act lacking intelligence or sense; an instance of senselessness; extremely foolish behaviour. 

stupidity

noun
  • An act that is stupid. 

  • The property of being stupid. 

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