Sam is baking cookies for a school event. Each batch of cookies requires 2/3 cups of sugar. If Sam wants to bake 9 batches of cookies, how many cups of sugar does he need in total? Let's think step by step and output the final answer within \boxed{}.
user