to a degree vs to an extent

to a degree

prep
  • Somewhat, a little 

to an extent

prep
  • Partly; in part. 

How often have the words to a degree and to an extent occurred in a corpus of books? (source: Google Ngram Viewer )