CREATE TABLE table_11240028_1 (duration VARCHAR, portrayed_by VARCHAR)

What was the duration of Robert Joy's portrayal?
SELECT COUNT(duration) FROM table_11240028_1 WHERE portrayed_by = "Robert Joy"
SELECT COUNT("duration") FROM "table_11240028_1" WHERE "Robert Joy" = "portrayed_by"