A wrapper over getCountUtil ( ) . This function initializes count as 0 and calls getCountUtil ( )
int getCount ( node * root , int low , int high ) { int count = 0 ; getCountUtil ( root , low , high , & count ) ; return count ; }