…The total number of shells is literally the row on the normal table. Germanium and zinc for instance both have electrons in four shells. In the case of zinc, the outer shell is 4s2 since it’s still in the d-block, and in the case of germanium it’s 4s2 4p2 since we’ve moved two into the p-block. Not sure what you’re getting at here. 