I'm new to using the Reports classes in Apex and I want to retrieve the total number of opportunities referenced in a report.
I assume retrieving the record count is the simplest way to do this, but how does it work?
I have looked through the Reports Namespace section on https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_namespace_Reports.htm, but without examples I'm struggling.