I have one dataframe with two columns A, and B . I want to check if column A value is greater than 5 continues, for this continuous time how many times value of column B val