In hexagonal systems of crystals, a frequently encountered arrangement of atoms is described as a hexagonal prism. Here, the top and bottom of the cell are regular hexagons and three atoms are sandwiched in between them. A space-filling model of this structure called hexagonal close-packed (HCP), is constituted of a sphere on a flat surface surrounded in the same plane by six identical spheres as closely as possible. Three spheres are then placed over the first layer so that they touch each spheres of the bottom layer. Finally, the second layer is covered with a third layer that is identical to the bottom layer in relative position. Assume radius of every sphere to be 'r'.
The number of atoms in this HCP unit cell is