A solid metallic cuboid of dimensions 9 m×8 m×2 m is melted and recast into solid cubes of edge 2m. Find the number of cubes so formed.