For finding the number of cubes in the given shapes you have to count all cubes which are visible or not. Hence, we have the total number of cubes for the given figures as:
(a) 10 cubes
(b) 10 cubes
(c) 10 cubes
(d) 9 cubes
(e) 11 cubes
(f) 9 cubes
(g) 11 cubes
(h) 110 cubes
(i) 113 cubes
(j) 66 cubes
(k) 15 cubes
(l) 14 cubes