Find the length of the longest non-decreasing sequence.