>(<span class="ruby-identifier">app_id</span>)
  <span class="ruby-identifier">where</span>(<span class="ruby-value">:app_id</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">app_id</span>, <span class="ruby-value">:exception_status</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-constant">CLOSED_EXCEPTION</span>).<span class="ruby-identifier">count</span>
<span class="ruby-keyword">end</span></pre>
            </div><!-- count_closed-source -->
            
   