As Mitch alluded to, there are two types of nodes, radial nodes and angular nodes. The number of radial nodes depends on n, the principal quantum number. There are n-1 radial nodes. The number of angular nodes depends on l, the angular quantum number. There are l angular nodes (i.e. s orbitals have 0 angular nodes, p orbitals have 1, d orbitals have two, f orbitals have 3, etc).