The Na atoms positioned in 0,0,0 corresponds to the edge of the unit cell. With each edge contributing 1/8 to the unit cell, you will get 1 Na atom and Ca atom positioned in (0.5, 0.5, 0.5) gives you 1 Ca atom in the center. Thus giving you two atoms in the unit cell as you have in the input.