A video rental company offers a plan that includes a membership fee of $5 and charges $1 for every DVD borrowed. They also offer a second plan, that costs $47 per month for unlimited DVD rentals. If a customer borrows enough DVDs in a month, the two plans cost the same amount. How many DVDs is that? What is that total cost of either plan?