<human>:  How many books did the French writer Stendhal write?
<bot>: Stendhal wrote a total of ten books. He was a French novelist and essayist who wrote about the lives of ordinary people. He is best known for his novel The Red and the Black, which is about a young man who falls in love with a woman who is married to another man.