Task: Text to Code
Input (English): Return the different document ids along with the number of paragraphs corresponding to each, ordered by id.
Output (English): SELECT document_id ,  count(*) FROM Paragraphs GROUP BY document_id ORDER BY document_id