case-soql-field-paths-for-crm-count-queries

Verified Production org field paths for Case-to-Opportunity cross-object SOQL: Opportunity__r.StageName for stage, Key_Handover_Date__c (date field directly on Case, not on Opportunity), Origin for channel source (excludes channel partner via NOT Origin LIKE ‘%Channel Partner%’), Owner.Name for owner name string comparison. These were confirmed against live schema describe output.