sheepdog vs sheepherder

sheepdog

noun
  • A breed of dog, used for herding sheep. 

  • A breed of dog used for guarding sheep. 

  • A police officer. 

verb
  • To chaperon or shepherd. 

sheepherder

noun
  • A person who herds sheep; a shepherd. 

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