Show project ids and the number of documents in each project.
select project_id, count(*) from documents group by project_id