Function to count the number of sub - arrays with sum strictly greater than the remaining elements of array
function Count_subarray ( arr , n ) { var subarray_sum , remaining_sum , count = 0 ; var i , j , k , l ;