Number of alerts by dashboard

I have noticed there is a function grafana_alerting_active_alerts.

Is there away to get the number of active alerts by dashboard?