Monotonicity count