groundwork vs legwork

groundwork

noun
  • The foundation; the basic or fundamental parts that support or allow for the rest. 

legwork

noun
  • Skillful or vigorous use of the legs, as in dance or sports. 

  • Work, especially research or preparation, that involves significant walking, travel, or similar effort. 

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