This formula will tell you how many times the sequence 1-3 occurs in your list.

=COUNTIFS(B3:B19,1,B4:B20,3)