      get the number of items in database.</span>
<span class="sd">        :return: number of items</span>
<span class="sd">        :rtype: int</span>
<span class="sd">        &quot;&quot;&quot;</span>
        <span class="k">return</span> <span class="nb">len</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">getSortedListOfItemFrequencies</span><span class="p">())</span></div>

<div class="viewcode-block" id="utilityDatabase.getSparsity"><a class="viewcode-ba