SELECT project_id ,  count(*) FROM Documents GROUP BY project_id
How many documents correspond with each project id?
SELECT project_id , count ( * ) FROM Documents GROUP BY project_id
select project_id , count ( * ) from documents group by project_id
How many documents correspond with each project id ?