D is simply that you need to have notes descending/lowering in 3 different parts, the note needs to rise before next descend in order it to count. For simple example using just numbers (2 1) (3 2) (3 2) and so on, this should not count (3 2 1)(3 3 2) since there is only 2 pairs. Ofc there is possiblity my detection is bugged but it worked as intended when i tested it.