A factory uses 7/10 of a barrel of raisins in each batch of granola bars. Yesterday, the factory used 3 1/2 barrels of raisins. How many batches of granola bars did the factory make yesterday?