c u b e s

Assuming that there are no cubes hiding behind the stack, other than the ones supporting the visible cubes, how many cubes are in the stack?

Ten.

As shown in the revised diagram.