-- Database schema
| Scientists : SSN [ INT ] primary_key , Name [ TEXT ] | Projects : Code [ TEXT ] primary_key , Name [ TEXT ] , Hours [ INT ] | AssignedTo : Scientist [ INT ] primary_key AssignedTo.Scientist = Scientists.SSN , Project [ TEXT ] AssignedTo.Project = Projects.Code |
-- -- Find the number of scientists involved for each project name.

SELECT count(*) ,  T1.name FROM projects AS T1 JOIN assignedto AS T2 ON T1.code  =  T2.project GROUP BY T1.name;