courtyard vs town square

courtyard

noun
  • An area, open to the sky, partially or wholly surrounded by walls or buildings. 

town square

noun
  • An open area commonly found in the heart of a traditional town, used for community gatherings. 

  • An online space or platform which serves a similar function. 

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