To get the list of spotlight sections use the following query
Opportunity and project count for SDG:
Have added both the counts in SDG API.
active_opportunities filter is required to return only SDGs which has active opportunities.
project_and_opportunities_count object will return JSON object which will have opportunities_count and projects_count.