$count_repeat

判断是否连续 N 次满足条件。

最小写法

{
  "name": "是否连续2次为A",
  "operator": "$count_repeat",
  "query": { "rate": "A" },
  "params": [2]
}