Task: Question Decomposition
Input (English): question: Find the number of classes in each department.
Output (English): #1 return departments 
#2 return classes in #1 
#3 return number of #2 for each #1