What was the duration of Robert Joy's portrayal?
CREATE TABLE table_11240028_1 (duration VARCHAR, portrayed_by VARCHAR)
SELECT COUNT(duration) FROM table_11240028_1 WHERE portrayed_by = "Robert Joy"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11240028_1 (duration VARCHAR, portrayed_by VARCHAR) Question: What was the duration of Robert Joy's portrayal? [/INST] SELECT COUNT(duration) FROM table_11240028_1 WHERE portrayed_by = "Robert Joy" </s>