A cube composed of individual smaller cubes is shown on the left below. Some of the mini cubes are removed from the big cube to make it the shape shown on the right. How many mini cubes were taken out?

A. $17$

B. $27$

C. $49$

D. $47$

E. $48$

A. $17$

B. $27$

C. $49$

D. $47$

E. $48$