Ivanna bought some books. She spent a total of $71 after a discount of $5 off of her total purchase. Each book cost $4. How many books did she buy?Write an equation that could be used to answer the question above.