mysql 查询考试总人数,请我下我的错在哪里,代码如下

#参加考试的总人数#
SELECT COUNT (writtenExam)AS 考试总人数 FROM stuMarks

错误代码: 1630
FUNCTION studb.count does not exist. Check the 'Function Name Parsing and Resolution' section in the Reference Manual

SELECT COUNT(writtenExam) AS 考试总人数 FROM stuMarks
count后面多个空格,as 前面少个空格

select count(*) from stuMarks