Task: Text to Code
Input (English): SQL: SELECT Max ( Adults ) , Sum ( Kids ) FROM Reservations
Feedback: Find number of rows of summation of adults and kids whose max occupancy is maximum .
Output (English): SELECT count(*) FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room  =  T2.RoomId WHERE T2.maxOccupancy  =  T1.Adults + T1.Kids