SELECT count(DISTINCT temp01.teacher_account) AS "senior_count" FROM (MATCH (person:/univ_demo/person WHERE status = '在职' AND person_sort = '事业编' AND staff_type = '专任教师岗位')-[:person_to_tech_duty*1..1]->(tech_duty:/univ_demo/tech_duty WHERE duty_level = '正高级' AND last_flag = '是') RETURN person.account AS "teacher_account") temp01 LIMIT 0, 500000 WITH TIMEOUT = 6m /** output() matchcount("senior_count", 316, 1) **/ ;