Once again the answer is 0. The reason is because the cube is 3 by 3 there is a cube 1 by 1 in the center of the big cube, because it is surrounded by other 1 by 1 cubes that cube doesn't get any sides painted. Therefor there is no possibility for all cubes to have at least one side painted.