Wire onPlaylistCountUpdate from PlaylistDetailView to Sidebar's updatePlaylistCounts method in +page.svelte. This ensures the sidebar displays accurate track counts from the database instead of calculated values that could drift out of sync.