Count number of functions in an object
<p>Is it possible to count number of functions and properties inside this JavaScript object:</p>

<pre><code>var Obj = {

    prop1: 'Property1',

    fun1: function() {
        console.log('function 1');
    },
    fun2: function() {
        console.log('function 2');
    }
}
</code></pre>

<p>So for properties I shout get 1 and 2 for functions here?</p>
