For a given value of n, the total number of possible l values is
n
n-1
2n-2
Total number of values possible for spin quantum number is