pub fn primary_window_count() -> usize
How many non-closing primary windows keep the app alive (docs/windows.md close policy). This includes the initial window while it remains registered and open.