Core Logic & Thinking
Count the total number of blocks in the stack.
Count the total number of blocks in a 3D stack, including hidden ones.