Count with joins is giving null results

Count with joins is giving null results

select count(p.id)
from projects p
join calls cl on p.id = cl.projectId
where p.type=‘subproject’