Task: Text to Code
Input (English): What is the average number of bedrooms of all apartments?
Output (English): SELECT avg(bedroom_count) FROM Apartments