Tree Navigation III

Show a hover-only child-count badge on each tree node using a pure CSS visibility toggle.

Asked in frontend interviews at Apple, Atlassian and Waymo