Which statement correctly compares barium nitrate (Ba(NO₃)₂) and scandium nitrate (Sc(NO₃)₃)?
A. They contain the same number of NO₃ groups.
B. They contain the same number of oxygen atoms.
C. They contain the same total number of atoms.
D. They contain the same number of elements.