              <span class="k">return</span> <span class="nb">int</span><span class="p">(</span><span class="n">val</span><span class="p">[</span><span class="s2">&quot;count&quot;</span><span class="p">])</span>
<span class="linenos"> 28</span>    <span class="k">raise</span> <span class="ne">ValueError</span><span class="p">(</span><span class="s2">&quot;Somethings not quite right&quot;</span><span class="p">)</span>
<span class="linenos"> 29</span>
<span class="linenos"> 30</span>
<span class="linenos"> 3