Depth sectioning combined with atom-counting in HAADF STEM to retrieve the 3D atomic structure.