The correct option is D 5
The corner most cubes of the half portions of the bigger cube will have only red painted faces. These corner most cubes initially were in the middle of the bigger cube. Thus, there will be total 5 such cubes (4 from the half-cube cut into 32 parts an from that cut into four parts).