="sd">&quot;&quot;&quot;Calculate the count of each atomic element in the given system.</span>

<span class="sd">        Args:</span>
<span class="sd">            system (ase.Atoms): The atomic system.</span>

<span class="sd">        Returns:</span>
<span class="sd">            1D ndarray: The counts for each element in a list where the index</span>
<span class="sd">            of atomic number x is self.atomic_number_to_index[x]</span>
<span class="sd">        &quot;&quot;&quot;</span>
        <span class