Task: Question Decomposition
Input (English): question: how many states are next to major rivers 
Output (English): #1 return rivers 
#2 return #1 that  are  major 
#3 return states next to  #2 
#4 return number of  #3