Adding the counting stairs problem