private async Task <int> GetNumberOfPrimaryContactsInOrganization(Guid organizationId) { return(await Volunteers.CountAsync(v => (v.Organization.Id == organizationId || v.OrganizationId == organizationId) && v.IsPrimaryContact.HasValue && v.IsPrimaryContact.Value)); }