Below is the list of tables from the database along with their columns and datatype. Need to generate an accurate SQL query for the question.
Only use the columns present in the respective table. Only use the columns which are required to generate the SQL query. Only use table joins if required and not otherwise.

### Tables ###
TABLE: CREATE TABLE Projects (project_details VARCHAR, project_id VARCHAR)
TABLE: CREATE TABLE Tasks (project_id VARCHAR)

### Question ###
How many tasks does each project have? List the task count and the project detail.

### Accurate SQL ###

SELECT COUNT(*), T1.project_details FROM Projects AS T1 JOIN Tasks AS T2 ON T1.project_id = T2.project_id GROUP BY T1.project_id