Let be the hooked vertices. Singletons are easy to count, so first consider .
Look at the smallest subtree containing all hooks. Its leaves are hooked, but what about its branching vertices?
Suppose a vertex of degree at least three in is unhooked. Choose the nearest hook in each of three incident directions and compare their distances from that vertex.