A local orchard charges a $5 entry fee and $5.99 for each container of peaches that a customer buys. If a customer paid $40.94, how many containers of peaches did they buy?