Daniel put 48 cupcakes into boxes. He put exactly 6 cupcakes in each box. How many boxes did Daniel fill with cupcakes?