select count(*) from patient where linked_to_id_patient=0 and id not in (select id_patient from tracking_motherbasicinfo)