title: how to find number of events bind with html control
body: <p>I have one input and that input have two events bind with it like below</p>
  
  <pre><code>&lt;input type="text" class="textinput"/&gt;
  
  &lt;script&gt;
      $(".textinput").focusin(function(){
          //some code
      }
      $(".textinput").focusout(function(){
          //some code
      }
  &lt;/script&gt;
  </code></pre>
  
  <p>is there any programmatic way to find number of events bind with .textinput" input ?</p>
  
  <p>i tried searching on google but not helping much.</p>