How do you calculate the amount of nodes in orbitals?

http://en.wikibooks.org/wiki/General_Chemistry/Shells_and_Orbitals