In the pictures you see two views (from the front and rear) to the rest of the cube. How many dice were removed from the original 4 x 4 x 4 cube?
The large cube is composed of 4 x 4 x 4 = 64 cubes.
The building is composed of 54 cubes.
64 - 54 = 10 of the cubes have been removed.