select count(*) from patient where linked_to_id_patient =0;