Fixed get_dashboard_counts.
Fixed get_dashboard_counts.