Added badge_counts endpoint