Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.

### Instruction:

Convert text to sql: Show the id, name of each editor and the number of journal committees they are on. | journal : journal_id , date , theme , sales | editor : editor_id , name , age | journal_committee : editor_id , journal_id , work_type | journal_committee.journal_id = journal.journal_id | journal_committee.editor_id = editor.editor_id | 

### Response:

select _ , count ( _ ) from _ group by _ | select editor.editor_id , editor.name , count ( * ) from editor join journal_committee on editor.editor_id = journal_committee.editor_id group by editor.editor_id