<span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">timeStamps</span><span class="p">:</span> <span class="nb">list</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="nb">int</span><span class="p">:</span>
<span class="w">        </span><span class="sd">&quot;&quot;&quot;</span>
<span class="sd">        calculates the support and periodicity with list of timestamps.</span>

<span class="sd">        :param timeStamps : timestamps of a pattern</sp