Task: Text to Code
Input (English): SQL: SELECT Count ( * ) FROM Rooms
Feedback: Make sure to find number of beds for which bed Type equals king .
Output (English): SELECT sum(beds) FROM Rooms WHERE bedtype  =  'King'