need help on chem homework

What is the relationship between n, ℓ, and the total number of nodes?

The number of planar nodes = ℓ.
The number of spherical nodes = n - ℓ - 1.