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 36 cubes.
64 - 36 = 28 of the cubes have been removed.