To figure out how many atoms there are within a unit cell, imagine a cube. Add of the "fractions" of the atoms (imagine a sphere). For example, atoms fully inside the cube count as 1, atoms on one of the faces of the cube count as 1/2, and atoms located on the corners of the cube count as 1/8.
Only 1/8 of the atoms at the corners of each cell belong to that cell..
Only 1/2 of the atoms on each face of the cell belong to that cell..
The atom at the center of each cell completely belongs to that cell...
In a body centered cell, you have 8 corner atoms and one center atom, so:
Total # of atoms = 8(1/8) + 1 = 2
In a face centered cell you have 8 corner atoms and 6 face atoms, so:
Total # of atoms = 8(1/8) + 6(1/2) = 4
In a simple centered cell you only have 8 corner atoms, so:
Total # of atoms = 8(1/8) = 1