confines vs restrictions

confines

noun
  • The scope or range of a subject. 

  • Elements that restrain someone. 

  • The borders or limits of an area. 

restrictions

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