you give integer array price represent daily price history stock pricesi stock price ith dayA smooth descent period stock consist contiguous day price day low price precede day exactly 1 the day period exempt rulereturn number smooth descent period example 1input price 3214output 7explanation there 7 smooth descent periods3 2 1 4 32 21 321note period day smooth descent period definitionexample 2input price 8677output 4explanation there 4 smooth descent period 8 6 7 7note 86 smooth descent period 8 6 1example 3input price 1output 1explanation there 1 smooth descent period 1 Constraints1 priceslength 1051 pricesi 105