select count(case when c_project_id is null then 'null' else c_project_id end),c_project_id from consultant group by c_project_id