The number of atoms in each unit cell in ccp structure is:
4 atoms
5 atoms
6 atoms
8 atoms
In ccp structure: number of atoms per unit cell is
(8 x 1/8)+(6 x 1/2)=1+3=4
So, number of atoms = 4.