SELECT SUM( CASE WHEN course IS NULL THEN 0 ELSE LENGTH (course) - LENGTH (REPLACE (course, ',', '')) + 1 END ) AS staff_nums FROM cultivate_tb;