When using something like the following query where there are no results, the method throws an error since `"subject.reference"` doesn't exist: ```python phc.Observation.get_count_by_patient(patient_ids=["unknown-patient-id"]) ```