How can i calculate the no. of atoms in hexgonal system such as Nd3Co11B4 or R2Fe14B?

how can i calculate the no. of atoms in hexgonal system such as Nd3Co11B4 or R2Fe14B?