我想从我的表中获取 X == 7 的行数
+----+----------+-------+---+
| id | username | email | X |
+----+----------+-------+---+
| 1 | | | 7 |
| 2 | | | 7 |
| 3 | | | 7 |
| 4 | | | |
| 5 | | | |
+----+----------+-------+---+
有 3 行 X == 7
我怎样才能得到这些行的数量?