barrier reef vs fringing reef

barrier reef

noun
  • A reef separated from the adjacent coast by a channel or lagoon. 

fringing reef

noun
  • A completely shallow coral reef adjacent to a coast. 

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