added UniquePatientsGivenDoctor and ViewPatientVisitCount queries
fixed merge conflicts