A cookie factory uses 1/4 bags of flour in each batch of cookies. The factory used 1/6 bags of flour yesterday. How many batches of cookies did the factory make?