Sam has $60 and decides to buy some books. Each book costs $8. After buying the books, he still has $20 left. How many books did Sam buy? Let's think step by step and output the final answer within \boxed{}.
user