racehorse vs stud horse

racehorse

noun
  • A horse that competes in races. 

stud horse

noun
  • A stallion; a male horse kept as a stud. 

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