lass="n">append</span><span class="p">(</span><span class="n">group</span><span class="p">)</span>
                        <span class="n">categories</span><span class="p">[</span><span class="n">smiles</span><span class="p">][</span><span class="s2">&quot;count&quot;</span><span class="p">]</span> <span class="o">+=</span> <span class="mi">1</span>

            <span class="k">else</span><span class="p">:</span>
                <span class="n">categories</span><span class="p">[</span><span class="n">smiles