Count Single-Child Nodes — Coding Problem — CareerVerse