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