如何获取“状态”值为“新”的“分支”列值重复的总次数
例子:
+-----------------+
| Branch | Status |
+-----------------+
| XYZ | New |
+-----------------+
| ABC | New |
+-----------------+
| XYZ | New |
+-----------------+
| XYZ | New |
+-----------------+
| ABC | New |
+-----------------+
| ABC | SOLVED |
+-----------------+
打印结果应该是
XYZ: 3
ABC: 2